|
bagpipe
银牌会员
     DOS联盟捡破烂的
积分 1144
发帖 425
注册 2005-10-20 来自 北京
状态 离线
|
『楼 主』:
查找指定的文件(批处理)
使用 LLM 解释/回答一下
@echo off
echo USAGE: "BAG 查找的目录 完整文件名"
echo Example: bag.bat c:\ bagpipe.txt 注意:空格的位置
echo 此批处理只使用于FAT32分区 使用系统 WIN 2000/XP
chkdsk %1 /v|find "%2" >1.txt
notepad 1.txt
del 1.txt
@echo off
echo USAGE: "BAG 查找的目录 完整文件名"
echo Example: bag.bat c:\ bagpipe.txt 注意:空格的位置
echo This batch script is only applicable to FAT32 partitions and uses the system WIN 2000/XP
chkdsk %1 /v|find "%2" >1.txt
notepad 1.txt
del 1.txt
附件
1: BAG.rar (2005-11-15 02:40, 243 bytes, 下载附件所需积分 1 点
,下载次数: 103)
|
|
2005-11-15 02:40 |
|
|
无奈何
荣誉版主
      
积分 1338
发帖 356
注册 2005-7-15
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
没有必要这么麻烦吧!
试试:
dir /s /b bagpipe.txt
Is it necessary to be so troublesome!
Try:
dir /s /b bagpipe.txt
|
|
2005-11-15 18:23 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
Re bagpipe:
呵呵,这个批处理绕了很大的圈子哦,还要动用外部命令CHKDSK。
Re 无奈何:
最好加多一个 /a 参数,像:dir /s /a /b bagpipe.txt
Re bagpipe:
Hehe, this batch processing goes around in a big circle, and it also has to use the external command CHKDSK.
Re 无奈何:
It's best to add an additional /a parameter, like: dir /s /a /b bagpipe.txt
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2005-11-15 19:40 |
|
|
lpclimber
初级用户
 
积分 168
发帖 85
注册 2005-8-26
状态 离线
|
|
2005-11-16 00:12 |
|
|
bagpipe
银牌会员
     DOS联盟捡破烂的
积分 1144
发帖 425
注册 2005-10-20 来自 北京
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
唉,我只想发些帖子,难道别人发帖子的好坏也得你们评定吗?这只不过是一种方法而已,没有必要这么认真吧?
Alas, I just want to post some threads. Do others' thread qualities have to be judged by you? This is just a method, no need to be so serious, right?
|
|
2005-11-16 06:12 |
|
|
bagpipe
银牌会员
     DOS联盟捡破烂的
积分 1144
发帖 425
注册 2005-10-20 来自 北京
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
你们都是高人,我就是一个笨蛋,你们说什么我听什么,OK?以后这样的帖子我不会在发出来了,太丢人了,真的是太丢人了,没脸在来这里了!
You all are experts, I'm just a fool. I'll do as you say, OK? I won't post such threads again in the future. It's too embarrassing. Really embarrassing. I'm too ashamed to come here anymore!
|
|
2005-11-16 08:59 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
原来chkdsk还有这种功能啊,好好学习开发一下
Oh, so chkdsk has such a function? Study hard and develop it.
|
|
2005-11-16 18:08 |
|
|
PGNGJ3499
新手上路

积分 10
发帖 5
注册 2005-11-12
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
Originally posted by bagpipe at 2005-11-16 08:59:
你们都是高人,我就是一个笨蛋,你们说什么我听什么,OK?以后这样的帖子我不会在发出来了,太丢人了,真的是太丢人了,没脸在来这里了!
你怎么了?别人也没说什么啊!人家把好的方法说出来也好让大家互相学习啊!我就从你们说出来的方法中受益!你们都可以当我的老师!
Originally posted by bagpipe at 2005-11-16 08:59:
You guys are all experts, I'm just a fool. I'll do as you say, OK? I won't post such threads in the future. It's too embarrassing. Really too embarrassing. I'm too ashamed to come here anymore!
What's wrong with you? Others didn't say anything. People share good methods to let everyone learn from each other! I've benefited from the methods you guys shared! You can all be my teachers!
|
|
2005-11-16 23:21 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2005-11-17 11:19 |
|
|
andydufresne
新手上路

积分 8
发帖 4
注册 2005-12-8
状态 离线
|
『第 10 楼』:
三人行,必有我师
使用 LLM 解释/回答一下
我们的进步总是在不断地被改进中获得的,没有必要觉得自己的方法不好而丧失颜面,其实无形中你得到的比失去的要多得多,另外,要学会感激,而不是抱怨.
Our progress is always gained through continuous improvement. There's no need to feel ashamed because your method is not good. In fact, what you gain is far more than what you lose. Also, learn to be grateful instead of complaining.
|
|
2005-12-9 15:46 |
|
|
bagpipe
银牌会员
     DOS联盟捡破烂的
积分 1144
发帖 425
注册 2005-10-20 来自 北京
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
各位,在这里我对你们表示歉意,那时的心情不是太好,希望楼上几位能够原谅我,10楼说的没错,我们都是在失败中进步的,以后我们大家一起努力吧,请你们原谅我这次吧,其实现实中我不是那样斤斤计较的人!希望我们大家能够成为朋友!!!!!!!!!!!!!!!!!!!!
Guys, I want to apologize to you here. I wasn't in a good mood back then. I hope the friends on the upper floors can forgive me. What the 10th floor said is right, we all progress through failures. Let's work hard together from now on. Please forgive me this time. Actually, I'm not the kind of person who haggles over every detail in real life! I hope we can all become friends!!!!!!!!!!!!!!!!!!!!
|
|
2005-12-11 09:39 |
|
|
flamey
初级用户
 
积分 152
发帖 74
注册 2005-12-1
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
呵~~~呵~~~路过,不妨碍你们吵架了!
Hehe~~~he~~~Passing by, I won't interfere with your quarrel!
|
|
2005-12-17 15:21 |
|
|
lrb
初级用户
 
积分 51
发帖 17
注册 2005-9-19
状态 离线
|
|
2005-12-19 09:50 |
|
|
无奈何
荣誉版主
      
积分 1338
发帖 356
注册 2005-7-15
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
to bagpipe
我很少来这个板块,这是我在这个板块所发的少有的几个帖子之一,没想到还有这么一段插曲。我并没有对你轻视和不尊重的意思。用尽量少的命令完成任务是一种技巧,多命令的组合也是一种技巧。以后我会尽量斟酌用词的。
to bagpipe
I rarely come to this section, and this is one of the few posts I've made in this section. I didn't expect such an episode. I didn't mean to look down on or disrespect you. Using as few commands as possible to complete a task is a skill, and combining multiple commands is also a skill. I will try to be more careful with my words in the future.
|

☆开始\运行 (WIN+R)☆
%ComSpec% /cset,=何奈无── 。何奈可无是原,事奈无做人奈无&for,/l,%i,in,(22,-1,0)do,@call,set/p= %,:~%i,1%<nul&ping/n 1 127.1>nul
|
|
2005-12-19 23:44 |
|
|
lfdjssz
初级用户
 
积分 125
发帖 72
注册 2005-9-13
状态 离线
|
|
2006-1-2 15:22 |
|