![]() |
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-09-29 22:23 |
47,813 topics / 349,918 posts / today 0 new / 48,278 members |
| DOS批处理 & 脚本技术(批处理室) » How to solve annoying problems with clever small DOS commands?! (DOS Expert Small Exam Question) |
| Printable Version 6,760 / 36 |
| Floor31 qzwqzw | Posted 2004-11-15 00:00 |
| 银牌会员 Posts 636 Credits 2,343 | |
|
GOTOmsdos, can you dir all the files? Just dir one file or folder is okay. Could it be that an extraction at once goes wrong to two places? Besides, programs always have things not considered. Execute it at once without any prompt. In case of an error, who will be responsible for the loss?
|
|
| Floor32 GOTOmsdos | Posted 2004-11-15 00:00 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
to qzwqzw: You still haven't understood the situation of my question.. Can you read the question meaning and requirements clearly and then express your opinion??
|
|
| Floor33 ultralqxq | Posted 2004-11-15 00:00 |
| 初级用户 Posts 27 Credits 165 | |
Here is the speech by GOTOmsdos on November 8, 2004 at 12:59:27: There is a loophole. Suppose I originally have a file called 1.txt in both f:\program and c:\, but the contents are different. If you execute this, won't my c:\1.txt be deleted too!!! Don't say there's no such coincidental thing, there must be the same situation. Especially you said it extends to subdirectories... |
|
| Floor34 GOTOmsdos | Posted 2004-11-15 00:00 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
Here's the translation:
This is like this. Let's add: To be sure there are no other important files with the same name elsewhere. If you have many files with the same name, then there's no way, you just have to find and delete them one by one. If you don't want files with the same name anymore, you can use batch processing, have some fun嘛. |
|
| Floor35 ultralqxq | Posted 2004-11-16 00:00 |
| 初级用户 Posts 27 Credits 165 | |
|
Well, I've read through and understand what you mean... You've already explained it earlier!!
|
|
| Floor36 Climbing | Posted 2004-11-16 00:00 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
Hehe, GOTOmsdos is really asking for trouble. It's better to state the premise and conditions of the problem clearly at the top floor, otherwise you'll have to keep explaining.
|
|
| Floor37 buddiyar | Posted 2006-07-15 03:05 |
| 初级用户 Posts 75 Credits 160 | |
| Prev 1 2 3 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |