China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-02 16:37
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Experts, please help View 856 Replies 5
Original Poster Posted 2008-08-22 12:53 ·  中国 重庆 电信
初级用户
Credits 27
Posts 10
Joined 2008-08-22 10:39
17-year member
UID 123840
Gender Male
Status Offline
If I want to search a USB flash drive for a folder named “123”, and copy all the files inside it to a folder named “DOWNLOAD” on the hard drive (note that I don't know where either of these two folders is located, and neither of them is under the root directory)
If I were to write this as a batch file, how should I write it... please advise
Let me add one more point here: by U disk I don't mean the local disk U, but a USB flash drive that shows up as a removable disk


[ Last edited by arilsfeng on 2008-8-24 at 05:52 PM ]
Floor 2 Posted 2008-08-24 12:02 ·  中国 河北 保定 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 3 Posted 2008-08-24 12:21 ·  中国 重庆 九龙坡区 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Floor 4 Posted 2008-08-24 17:34 ·  中国 重庆 沙坪坝区 电信
初级用户
Credits 27
Posts 10
Joined 2008-08-22 10:39
17-year member
UID 123840
Gender Male
Status Offline
Thank you very much, but it seems I said one thing wrong: by U disk I didn't mean the local disk U, but a removable disk. Still, many thanks for your support, and thanks for your hard work.
Floor 5 Posted 2008-08-24 20:25 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
No matter what kind of drive it is, as long as you put the correct drive letter in the first for.
Floor 6 Posted 2008-08-26 22:26 ·  中国 山东 聊城 电信
系统支持
★★★
Credits 1,010
Posts 434
Joined 2007-02-08 00:00
19-year member
UID 78999
Gender Male
Status Offline
As long as it has a drive letter, that's enough
Forum Jump: