![]() |
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-08-13 00:41 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » [Help] How to find a certain file under DOS??? |
| Printable Version 2,515 / 10 |
| Floor1 albert1111 | Posted 2003-07-28 00:00 |
| 初级用户 Posts 7 Credits 129 | |
|
I'm a newbie! Asking all the experts
How to find a certain file under DOS??? I always worry about this problem!!!!! |
|
| Floor2 电吉入侵 | Posted 2003-07-28 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
dir /s finle name(文件名)
(注:原句中“finle”应为拼写错误,正确应为“file”,但按照要求保留原内容翻译,若按正确拼写翻译应为“dir /s file name(FileName)”) |
|
| Floor3 leslie | Posted 2003-07-28 00:00 |
| 初级用户 Posts 16 Credits 178 | |
|
First, figure out which drive it is. It is clearer to use dir/w/p** to display**```
First, figure out which drive it is. It is clearer to use dir/w/p** |
|
| Floor4 albert1111 | Posted 2003-07-28 00:00 |
| 初级用户 Posts 7 Credits 129 | |
|
Thank you very much to the second and third floors, especially the second floor!!!!!
|
|
| Floor5 GOTOmsdos | Posted 2003-08-14 00:00 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
dir /w /p can only display files in the current directory, only dir /s can display files in all subdirectories!!
This is a world of difference!! If the file is not in the current directory, using dir /w/p can only look at the "name" and sigh!! |
|
| Floor6 cn_archer | Posted 2003-08-14 00:00 |
| 元老会员 Posts 991 Credits 2,903 From 福建省 | |
|
Searching is generally better with the /s parameter of DIR, especially when it comes to fuzzy searching, but the speed... Sometimes using wildcards? and * is also a very effective method.
|
|
| Floor7 斑马王子 | Posted 2003-08-14 00:00 |
| 初级用户 Posts 17 Credits 163 | |
|
Friend on the fifth floor, you made a mistake. /p /w is used to split the screen and display five files per line. After you use the /s parameter, there may be many files. If you don't use splitting the screen or displaying five files per line, it will be troublesome.
|
|
| Floor8 cn_archer | Posted 2003-08-14 00:00 |
| 元老会员 Posts 991 Credits 2,903 From 福建省 | |
|
The /p or /w is just a way to display the search results... If you don't add /s, if the file isn't found, there's simply no display at all
|
|
| Floor9 无妄★模拟 | Posted 2003-08-14 00:00 |
| 初级用户 Posts 35 Credits 280 | |
|
It should be like this: c:>\dir/s/p file nemu>kk.bat press Enter
Input edit kk.bat Edit kk.bat. Add CD in front of it, save it, and then execute KK.BAT. It can save the step of entering the directory and directly execute the file you want!!! I'm sorry, I forgot to mention. When editing KK.BAT, don't forget to delete other items except the directory of the file you want!!! Otherwise, it won't be executed~~~~~~~~~Ha! I was careless again~~~~~~~ |
|
| Floor10 ygxjl | Posted 2003-08-15 00:00 |
| 初级用户 Posts 1 Credits 105 | |
|
Yes, adding /s is the best way.
|
|
| Floor11 llfz | Posted 2003-08-16 00:00 |
| 初级用户 Posts 35 Credits 263 | |
|
If it is a hidden file, it must be dir /s /a
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |