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 06:24
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » A small question about copy: View 2,267 Replies 24
Floor 16 Posted 2003-08-09 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Use file merging
copy 1+2+3 4
Floor 17 Posted 2003-08-10 00:00 ·  中国 重庆 电信
银牌会员
★★★
Credits 2,202
Posts 499
Joined 2003-06-12 00:00
23-year member
UID 4876
Gender Male
Status Offline
Question: then if my 1.BAT;2.BAT;3.BAT are combined into one 4.BAT, how can I split it back into the original three BAT files with different contents?
一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— !
Floor 18 Posted 2003-08-10 00:00 ·  中国 安徽 滁州 天长市 电信
银牌会员
★★★
Credits 1,835
Posts 648
Joined 2002-11-08 00:00
23-year member
UID 197
Gender Male
Status Offline
Hehe, the poster above can try it yourself, don't ask others about everything. Sometimes trying it yourself is good too.
Create a few unrelated BAT files yourself and try it out :)
Floor 19 Posted 2003-08-11 00:00 ·  中国 重庆 电信
银牌会员
★★★
Credits 2,202
Posts 499
Joined 2003-06-12 00:00
23-year member
UID 4876
Gender Male
Status Offline
Haven't I tried enough? I did try it, and afterward in 4.bat there were 3 bat files, and it doesn't recognize English. I just can't understand much of the hlp;
Friend, if a question post is made, help if you can; if you can't, then just pass by, okay?
一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— !
Floor 20 Posted 2003-08-11 00:00 ·  中国 河南 南阳 联通
初级用户
Credits 219
Posts 23
Joined 2003-08-11 00:00
23-year member
UID 8405
Gender Male
Status Offline
Not easy to solve!
Floor 21 Posted 2003-08-11 00:00 ·  中国 重庆 电信
银牌会员
★★★
Credits 2,202
Posts 499
Joined 2003-06-12 00:00
23-year member
UID 4876
Gender Male
Status Offline
Ah, never mind, it's nothing important anyway; just learning a bit more
一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— !
Floor 22 Posted 2004-08-03 00:00 ·  中国 上海 宝山区 电信
初级用户
★★
Credits 217
Posts 55
Joined 2004-08-02 00:00
22-year member
UID 29516
Gender Female
Status Offline
Use the ";" sign
Floor 23 Posted 2005-09-15 00:11 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 247
Posts 83
Joined 2005-09-12 12:06
20-year member
UID 42446
Gender Male
Status Offline
I'm new here. There's a method you can try: first enter the folder you want to copy from, and maybe there are subfolders under it too, that's okay. Use dir/b/s>>list.txt to export the file list first, then use the for command:
for /f %a in (list.txt) do copy %a d:\temp\
But this command also has a drawback: if there are still subdirectories under the original directory, it can't copy the directories, only the files inside them. Hope an expert can improve it!
Floor 24 Posted 2005-09-15 17:04 ·  中国 安徽 宿州 泗县 电信
银牌会员
★★★
Credits 1,339
Posts 595
Joined 2004-05-26 00:00
22-year member
UID 25306
Gender Male
From 安徽 宿州
Status Offline
Another way is, after starting DOS, load Chinese character support. For example, Tianhui, then load the input method Wb(x).com or Py.com, and you can directly enter that New Folder. Method: start DOS, type Tw (this starts the Tianhui Chinese character support system), then type Wb(x).com, this is the DOS version of the Wubi input method, or you can type Py.com, which is the Pinyin input method. You can use Dir to see the name shown for "New Folder" (usually "新建文~1". You can use CD (after typing CD, press the key combination Alt + F2 to enter the Wubi input method, or press Alt + F4 to enter the Pinyin input method) 新建文~1, that is, CD 新建文~1
, then use Copy . e:\ and that will do.
Floor 25 Posted 2005-09-18 11:53 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 168
Posts 85
Joined 2005-08-26 00:19
20-year member
UID 41941
Gender Male
Status Offline
Learned quite a lot again!
Forum Jump: