Under DOS
I’m trying to make a BAT batch file under DOS.
Its job is to copy all folders in H:, including subfolders and all files, into a folder on D: named after the current system time, while keeping the original directory structure of H:. Then delete all folders and files in H:.
Now I’ve run into a difficult point:
how to copy the content to the destination drive, and put it into a folder created on the spot. This folder can be given a random name, preferably named after the current system time.
How do I do this? Please advise!
I’m trying to make a BAT batch file under DOS.
Its job is to copy all folders in H:, including subfolders and all files, into a folder on D: named after the current system time, while keeping the original directory structure of H:. Then delete all folders and files in H:.
Now I’ve run into a difficult point:
how to copy the content to the destination drive, and put it into a folder created on the spot. This folder can be given a random name, preferably named after the current system time.
How do I do this? Please advise!

