Under DOS
I'm trying to make a BAT batch file under DOS.
Its task is to copy all folders in H:, including subfolders, and all files to 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 difficulty:
how to copy the content that needs to be copied 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 can this be done? Please advise!
I'm trying to make a BAT batch file under DOS.
Its task is to copy all folders in H:, including subfolders, and all files to 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 difficulty:
how to copy the content that needs to be copied 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 can this be done? Please advise!

