|
albert1111
初级用户
 
积分 129
发帖 7
注册 2003-7-27
状态 离线
|
『楼 主』:
[求助]怎样在Dos下查找某个文件??????
使用 LLM 解释/回答一下
我是新菜!请教一个各位高手
怎样在Dos下查找某个文件??????
我每每为这个问题伤脑筋!!!!!
I'm a newbie! Asking all the experts
How to find a certain file under DOS???
I always worry about this problem!!!!!
|
|
2003-7-28 00:00 |
|
|
电吉入侵
初级用户
 
积分 1480
发帖 377
注册 2003-6-6
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
dir /s finle name(文件名)
dir /s finle name(文件名)
(注:原句中“finle”应为拼写错误,正确应为“file”,但按照要求保留原内容翻译,若按正确拼写翻译应为“dir /s file name(FileName)”)
|

欢迎大家访问我的主页!
精品.爱好http://iso.533.net |
|
2003-7-28 00:00 |
|
|
leslie
初级用户
 
积分 178
发帖 16
注册 2003-6-20
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
先弄清楚在哪个盘里,在使用dir/w/p显示的比较清晰
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**
|
|
2003-7-28 00:00 |
|
|
albert1111
初级用户
 
积分 129
发帖 7
注册 2003-7-27
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
非常感谢二、三楼,尤其是二楼!!!!!
Thank you very much to the second and third floors, especially the second floor!!!!!
|
|
2003-7-28 00:00 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
dir /w /p 只能显示当前目录下的文件,只有dir /s才能显示所有子目录下的文件!!
这可是天壤之别!!
如文件不在当前目录,用dir /w/p就只能望"名"兴叹!!
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!!
|
|
2003-8-14 00:00 |
|
|
cn_archer
元老会员
         农民
积分 2903
发帖 991
注册 2003-7-23 来自 福建省
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
查找一般用 DIR的/s 参数比较好些,尤其是模糊查找时会比较方便,但速度……
有时用上通配符 ?和* 也是很有效的方法。
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.
|

艰难奋长戟,万古用一夫
中国DOS联盟 http://www.cn-dos.net 欢迎大家来共同学习
我的MSN&E-Mail cn_archer@hotmail.com QQ 56049418
|
|
2003-8-14 00:00 |
|
|
斑马王子
初级用户
 
积分 163
发帖 17
注册 2003-8-13
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
五楼的朋友你搞错了,/p /w是用来分屏和一行显示五个文件的。在你使用参数/s后有可能会有很多文件出来。如果不采用分屏或者一行显示五个那会麻烦的。
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.
|
|
2003-8-14 00:00 |
|
|
cn_archer
元老会员
         农民
积分 2903
发帖 991
注册 2003-7-23 来自 福建省
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
/p或者/w只是查找结果的一种显示格式而已……
如果不加/s,要是找不到文件,根本就没得显示啊
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
|

艰难奋长戟,万古用一夫
中国DOS联盟 http://www.cn-dos.net 欢迎大家来共同学习
我的MSN&E-Mail cn_archer@hotmail.com QQ 56049418
|
|
2003-8-14 00:00 |
|
|
无妄★模拟
初级用户
  蝎蛇统领
积分 280
发帖 35
注册 2003-5-21
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
应该是这样: c:>\dir/s/p file nemu>kk.bat回车
输入edit kk.bat
编辑kk.bat 在他的前面加上CD保存后再执行KK。BAT连输入目录都
省了,直接执行你要的文件了!!!
对不起,忘了说了,编辑KK。BAT的时候别忘了把除了你要的文件目录的其他项目
都删掉啊!!不然不会被执行的~~~~~~~~~哈!!我又马虎了~~~~~~~
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~~~~~~~
|

我是菜鸟,我要变成老鸟!
www.10.164.63.101.com |
|
2003-8-14 00:00 |
|
|
ygxjl
初级用户
 
积分 105
发帖 1
注册 2003-8-15
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
没错,加 /s 是最好的方法了。
Yes, adding /s is the best way.
|
|
2003-8-15 00:00 |
|
|
llfz
初级用户
 
积分 263
发帖 35
注册 2003-8-10
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
如果是隐藏文件必须
dir /s /a
If it is a hidden file, it must be dir /s /a
|
|
2003-8-16 00:00 |
|