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-08-14 03:52
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How to move a directory and all its files under DOS View 1,684 Replies 7
Original Poster Posted 2004-02-22 00:00 ·  中国 广东 惠州 电信
中级用户
Credits 204
Posts 31
Joined 2004-02-20 00:00
22-year member
UID 18008
Gender Male
Status Offline
If there is a folder named MP3 on drive D, how should I move it to drive C?
Floor 2 Posted 2004-02-22 00:00 ·  中国 广东 惠州 电信
中级用户
Credits 204
Posts 31
Joined 2004-02-20 00:00
22-year member
UID 18008
Gender Male
Status Offline
This problem shouldn't be too difficult, right! Why is there no one to help me?
Floor 3 Posted 2004-02-22 00:00 ·  中国 广东 佛山 三水区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
Use the MOVE command, or use NORTON COMMAND
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 4 Posted 2004-02-22 00:00 ·  中国 江苏 扬州 联通
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
move cannot move multi-level directory files.
If the MP3 folder has only files and no subdirectories, you can still use MOVE, but you cannot create a new directory during the move, so you need to create a new directory first, "md C:\mp3", then type "move d:\mp3\*.* c:\mp3"
If there are multi-level directories, you can only use xcopy, "xcopy d:\mp3 c:\mp3\ /s", then delete the source folder, "deltree /y d:\mp3"















Floor 5 Posted 2004-02-22 00:00 ·  中国 广东 惠州 电信
中级用户
Credits 204
Posts 31
Joined 2004-02-20 00:00
22-year member
UID 18008
Gender Male
Status Offline
Okay, but I just don't understand why I can't create an MP3 directory on the C drive while moving, and I have to create another one? Also, I need to delete the empty MP3 folder on the D drive. Isn't this very troublesome?
Floor 6 Posted 2004-02-22 00:00 ·  中国 江苏 南京 联通
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
The following is the speech of Primary School Student on 2004-2-22 11:48:09:
It's okay, but I just don't understand why I can't create an MP3 directory on the C drive while moving, and I have to create another one?


This may be a defect of the DOS MOVE source program. In this regard, the "move" in WINDOWS won't be like this.
Because I have to use "*.*" to move all files, so the directory name is not moved. There's no way.
However, we can't generally say that DOS is not as good as WINDOWS. DOS batch processing can complete various tasks in batches and personalized according to the editor's requirements, and managing the system with DOS is more in-depth. While for general users, WINDOWS is not as good.
Floor 7 Posted 2004-09-12 00:00 ·  中国 湖南 株洲 电信
初级用户
Credits 147
Posts 10
Joined 2004-09-08 00:00
21-year member
UID 31234
Gender Male
Status Offline
High
Floor 8 Posted 2004-09-13 00:00 ·  中国 广西 贺州 电信
初级用户
Credits 168
Posts 27
Joined 2004-08-07 00:00
22-year member
UID 29797
Gender Male
From 广西
Status Offline
Not bad, worth learning~!
我知道我很菜,所以我一直都在努力!
Forum Jump: