|
walu
高级用户
   
积分 916
发帖 201
注册 2003-5-4
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
Re:Tamm
“TFind /f30,10 "label" %temp%\temp.txt >%temp%\temp1.txt ”
这一行中的/f30,10究竟是什么意思呢?假如temp.txt的内容如下
Fixed Disk Drive Status
HD0 16379 MB
Drive Volume Name Size File System
1 PA Connectix 5601 MB FAT32
2 P IBM_SERVICE 6558 MB FAT32
3 L 102 MB FAT16
4 L 400 MB FAT32
5 L 196 MB FAT16
6 L 196 MB FAT16
7 L 251 MB FAT16
8 L IBM_SER 306 MB FAT32
9 L 243 MB FAT32
10 L 173 MB NTFS
11 L 227 MB FAT32
12 L 102 MB FAT16
13 L 322 MB FAT32
14 L 275 MB FAT32
15 L 196 MB FAT16
16 L 235 MB FAT16
17 L 329 MB FAT16
18 L 510 MB FAT32
19 P 157 MB FAT16
20 L 173 MB NTFS
21 L 227 MB FAT32
22 L 102 MB FAT16
23 L 322 MB FAT32
24 L 275 MB FAT32
25 L 275 MB FAT32
26 L 275 MB FAT32
27 L 275 MB FAT32
28 L 275 MB FAT32
29 L 275 MB FAT32
30 L 275 MB FAT32
31 L 275 MB FAT32
32 L IBM_SERVI 196 MB FAT16
Press any key to continue...
则“TFind /f30,10 "label" %temp%\temp.txt >%temp%\temp1.txt ”中的f后面要相应变为多少?
Re:Tamm
“TFind /f30,10 "label" %temp%\temp.txt >%temp%\temp1.txt ”
What does /f30,10 mean in this line? Suppose the content of temp.txt is as follows
Fixed Disk Drive Status
HD0 16379 MB
Drive Volume Name Size File System
1 PA Connectix 5601 MB FAT32
2 P IBM_SERVICE 6558 MB FAT32
3 L 102 MB FAT16
4 L 400 MB FAT32
5 L 196 MB FAT16
6 L 196 MB FAT16
7 L 251 MB FAT16
8 L IBM_SER 306 MB FAT32
9 L 243 MB FAT32
10 L 173 MB NTFS
11 L 227 MB FAT32
12 L 102 MB FAT16
13 L 322 MB FAT32
14 L 275 MB FAT32
15 L 196 MB FAT16
16 L 235 MB FAT16
17 L 329 MB FAT16
18 L 510 MB FAT32
19 P 157 MB FAT16
20 L 173 MB NTFS
21 L 227 MB FAT32
22 L 102 MB FAT16
23 L 275 MB FAT32
24 L 275 MB FAT32
25 L 275 MB FAT32
26 L 275 MB FAT32
27 L 275 MB FAT32
28 L 275 MB FAT32
29 L 275 MB FAT32
30 L 275 MB FAT32
31 L 275 MB FAT32
32 L IBM_SERVI 196 MB FAT16
Press any key to continue...
Then what should the f be changed to in “TFind /f30,10 "label" %temp%\temp.txt >%temp%\temp1.txt ”?
|
|
2004-4-27 00:00 |
|
|
Tamm
中级用户
  
积分 397
发帖 64
注册 2004-4-18
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
这是 TFind 的定位搜索, /Fc,l 只从每行的第 c 列开始搜索,搜索范围 l 列
f30,10 的意思就是只搜索每行的第 30列-第40列这个范围。
这样能极大地减少误搜索的可能性
你用it.com的时候,你可以打开 temp.txt 去数一下,看看它的卷标是出现在第几列。
更正一下:因为卷标的长度是允许11个字符,所以我这个 /f30,10 其实是有错误的。
实际应用中,你可以适当放宽搜索范围。
This is the positioning search of TFind. /Fc,l means to start searching from column c of each line, with a search range of l columns. The meaning of f30,10 is to search only the range from column 30 to column 40 of each line. This can greatly reduce the possibility of false searches. When you use it.com, you can open temp.txt to count and see in which column the volume label appears. Correctly: Because the length of the volume label is allowed to be 11 characters, so my /f30,10 actually has an error. In actual application, you can appropriately relax the search range.
|
|
2004-4-28 00:00 |
|
|
foxrao
初级用户
 
积分 146
发帖 9
注册 2004-4-2
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
以下是引用walu在2004-4-24 13:31:34的发言:
唉,你们都不明白的了。幸好一键恢复精灵作者饶晓超能理解,并且准备编出一个有这样功能的程序。
程序写好了 打开附件
The following is the statement quoted from walu on 2004-4-24 13:31:34:
Alas, none of you understand. Fortunately, Rao Xiaochao, the author of One-key Recovery Wizard, can understand, and is preparing to compile a program with such a function.
The program is written. Open the attachment
|
|
2004-4-28 00:00 |
|
|
walu
高级用户
   
积分 916
发帖 201
注册 2003-5-4
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
饶晓超兄弟真是厉害,谢谢你!我们QQ再谈
Brother Rao Xiaochao is really amazing, thank you! Let's talk on QQ.
|
|
2004-4-28 00:00 |
|
|
hill2002zc
初级用户
 
积分 177
发帖 21
注册 2004-4-14
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
你的问题看样解决了吧 你可以到 电脑报2003合定本去看看去
那里有你需要的东西
It seems your problem has been solved. You can go and check the 2003 collected edition of Computer News. There are things you need there.
|
|
2004-5-20 00:00 |
|
|
红尘无罪
初级用户
 
积分 121
发帖 4
注册 2004-5-16
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
哇,我都看不懂啊!好自卑哦!!我要好好学习!!
Wow, I can't even understand it! So inferior! I need to study hard!!
|
|
2004-5-20 00:00 |
|
|
jyssysz
中级用户
  
积分 343
发帖 50
注册 2004-2-21
状态 离线
|
|
2004-5-22 00:00 |
|
|
gmy
版主
        操作系统爱好者
积分 1113
发帖 392
注册 2002-11-11
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
GHOST8.0的命令行支持 源于NTFS分区里GHO文件,形式是 1:2\xxx.gho (第1硬盘第2个分区里的xxx.gho文件)
GDISK n 可以显示所有分区,配合STRINGS和FIND命令可以提取盘符(让DOS与WINXP下显示的盘符一致),我正着手编写批处理,用于新版的GHOST8.0启动盘。
The command-line support of GHOST8.0 originates from the GHO file in the NTFS partition, in the form of 1:2\xxx.gho (the xxx.gho file in the second partition of the first hard disk). GDISK n can display all partitions. Combined with the STRINGS and FIND commands, it can extract the drive letters (to make the drive letters displayed under DOS and WINXP consistent). I am currently working on writing a batch script for the new version of the GHOST8.0 boot disk.
|

DOS之家 http://doshome.com 站长 葛明阳 |
|
2004-5-22 00:00 |
|
|
haonanren
初级用户
 
积分 162
发帖 14
注册 2004-5-16
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
以下是引用gmy在2004-5-22 上午 10:23:59的发言:
GHOST8.0的命令行支持 源于NTFS分区里GHO文件,形式是 1:2\xxx.gho (第1硬盘第2个分区里的xxx.gho文件)
GDISK n 可以显示所有分区,配合STRINGS和FIND命令可以提取盘符(让DOS与WINXP下显示的盘符一致),我正着手编写批处理,用于新版的GHOST8.0启动盘。
万分期待!
The following is a quote from gmy on May 22, 2004 at 10:23:59 AM:
GHOST8.0 supports command lines. It comes from the GHO file in the NTFS partition, in the form of 1:2\xxx.gho (the xxx.gho file in the second partition of the first hard drive)
GDISK n can display all partitions. Combined with the STRINGS and FIND commands, it can extract the drive letters (to make the drive letters displayed in DOS and WINXP consistent). I am currently working on writing a batch script for the new version of the GHOST8.0 bootable disk.
Looking forward to it!
|
|
2004-5-23 00:00 |
|
|
crshen
中级用户
  
积分 447
发帖 126
注册 2004-2-10
状态 离线
|
|
2004-5-29 00:00 |
|