trying to run batch files before / after a scheduled backup
Posted: Sat Sep 23, 2017 9:22 pm
i can't get a batch file to start before the scheduled image is made. the pre batch file cleans temp files. and the post batch robocopies to my server.
i was getting r-drive image pre/post snapshot command failed
i moved the batch files to c drive with no spaces that error is gone now - when i run the scheduled task the command window does not open.
i've tried
cmd /c C:\Batch_FIles\Clean_Temp_Files.bat
cmd.exe /c C:\Batch_FIles\Clean_Temp_Files.bat
C:\Batch_FIles\Clean_Temp_Files.bat
cmd /c "C:\Batch_FIles\Clean_Temp_Files.bat"
i'm using windows 10
i was getting r-drive image pre/post snapshot command failed
i moved the batch files to c drive with no spaces that error is gone now - when i run the scheduled task the command window does not open.
i've tried
cmd /c C:\Batch_FIles\Clean_Temp_Files.bat
cmd.exe /c C:\Batch_FIles\Clean_Temp_Files.bat
C:\Batch_FIles\Clean_Temp_Files.bat
cmd /c "C:\Batch_FIles\Clean_Temp_Files.bat"
i'm using windows 10