|Good Day All|
Is this correct way to setup a batch file to copy various folders & Files on shutdown?
Please note the batch file code is only in the testing stage: -
Stage 1: -
Create the batch file with the following code: -
xcopy Q:\testsource Q:\testbackup /e/d/c/s/r/y/i
Set the batch file to run on XP shutdown in the following way: -
1.) Start, Run, gpedit.msc
2.) Select Computer Configuration, Windows Settings, Scripts (Startup/Shutdown)
3.) Double Click Shutdown
4.) Click Add, and browse to the script.
5.) Click OK, and OK again.
6.) Close Group Policy and Restart Computer.
7.) The script should now be run on shutdown.
If anyone knows a better way or an improvement I would appreciate your help.