中国DOS联盟论坛

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-08-03 13:52
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Copy files created today on a specified drive into a directory named with today's date?
Printable Version  860 / 3
Floor1 runwater Posted 2007-02-28 07:53
初级用户 Posts 11 Credits 26
How can I copy the files created today on a specified drive into a folder created with today's date??

1. Creating a directory with today's date can be done with a command like this:
@echo off
md c:\%date:~0,10%
2. Copy the files created today on a specified drive into the folder created with today's date
Urgently waiting for guidance

[ Last edited by runwater on 2007-2-27 at 06:55 PM ]
Floor2 slore Posted 2007-02-28 11:03
铂金会员 Posts 2,478 Credits 5,212
Floor3 runwater Posted 2007-02-28 23:58
初级用户 Posts 11 Credits 26
Great!! Changing it to xcopy makes it copy!
Floor4 runwater Posted 2007-03-01 03:00
初级用户 Posts 11 Credits 26
Why does it feel like an infinite loop when I use it?????????????????????????????????????????????????????????????
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023