![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-15 05:44 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS软件下载 & 游戏分享 (下载室) » I might need a small program |
| Printable Version 1,516 / 0 |
| Floor1 可乐泡饭 | Posted 2003-11-23 00:00 |
| 初级用户 Posts 15 Credits 155 | |
|
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! |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |