![]() |
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-10-01 11:51 |
47,813 topics / 349,918 posts / today 0 new / 48,279 members |
| DOS学习入门 & 精彩文章 (教学室) » A small question about copy: |
| Printable Version 2,540 / 24 |
| Floor16 GOTOmsdos | Posted 2003-08-09 00:00 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
Use file merging
copy 1+2+3 4 |
|
| Floor17 xiaojun | Posted 2003-08-10 00:00 |
| 银牌会员 Posts 499 Credits 2,202 | |
|
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?
|
|
| Floor18 LanE | Posted 2003-08-10 00:00 |
| 银牌会员 Posts 648 Credits 1,835 | |
|
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 :) |
|
| Floor19 xiaojun | Posted 2003-08-11 00:00 |
| 银牌会员 Posts 499 Credits 2,202 | |
|
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? |
|
| Floor20 jeffyy | Posted 2003-08-11 00:00 |
| 初级用户 Posts 23 Credits 219 | |
|
Not easy to solve!
|
|
| Floor21 xiaojun | Posted 2003-08-11 00:00 |
| 银牌会员 Posts 499 Credits 2,202 | |
|
Ah, never mind, it's nothing important anyway; just learning a bit more
![]() |
|
| Floor22 duxuelj520 | Posted 2004-08-03 00:00 |
| 初级用户 Posts 55 Credits 217 | |
|
Use the ";" sign
|
|
| Floor23 ily2013 | Posted 2005-09-15 00:11 |
| 中级用户 Posts 83 Credits 247 | |
|
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! |
|
| Floor24 chujiafu | Posted 2005-09-15 17:04 |
| 银牌会员 Posts 595 Credits 1,339 From 安徽 宿州 | |
|
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. |
|
| Floor25 lpclimber | Posted 2005-09-18 11:53 |
| 初级用户 Posts 85 Credits 168 | |
|
Learned quite a lot again!
|
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |