I need to schedule a daily save from a virtual machine running on Dos 6.22, and to do so I need to stock the date variable and use it to do a differential backup. Otherwise the backup operation would take too much time, since it will copy the same files again and again.
I tried everything and apparently the date variable isn't available in this version, and if I want to manage variables I need to do it in a separate batch file.
I tried the robocopy, but then again it isn't available for this version of Dos.
Is there anyone who could help me with this ? It's been a week since i've been working on this.
Cheers,
Thank you everyone for your answers, I finally did it. I didn't use any of the solutions above since it doesn't work on MS.DOS 6.22
I just created a script in the real machine :
This script creates a batch file with the following instruction :
Where mydate is yesterday's date. And I run this script from the virtual machine.
To keep mydate updated I scheduled a task to run the first script everyday at midnight.
This might help someone with the same kind of problem I got.