1. Create a problem named vpbak. BAT and use NotePad to edit the following content:
MD e: \ newbak \ vpbak "% date %
Xcopy D: \ rock \ *. * E: \ newbak \ vpbak % date %/D/E/y/h
Saved.
This means to back up all the content in the rock directory of disk d to the newbak directory of disk E, which is named vpbak year month day.
2. Create an issue named autovpbak. BAT and use NotePad to edit the following content:
Vpbak. Bat> vpbak. Log
Saved.
This means that logs are output after the preceding automatic backup is completed.
3. Create a problem named vpbak2rar. BAT and use NotePad to edit the following content:
"C: \ Program Files \ WinRAR \ winrar.exe" a-r-EP1-agyyyy-MM-DD "vpbak.rar" E: \ newbak \ vpbak % date %
Save and complete.
It means to use the WinRAR tool installed on drive C to compress the vpbak files in the Directory into a compressed package for storage.
4. Create an issue named autovpbak2rar. BAT and use NotePad to edit the following content:
Vpbak2rar. Bat> vpbak2rar. Log
Saved.
This means that logs are output after the above automatic compression is completed.