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, 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 one difficulty:
that is, how to copy the content to the destination drive, and put it into a folder created on the spot. This folder can be named arbitrarily, preferably after the current system time.
How do I do this? Please teach me!
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, 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 one difficulty:
that is, how to copy the content to the destination drive, and put it into a folder created on the spot. This folder can be named arbitrarily, preferably after the current system time.
How do I do this? Please teach me!




