中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-06-17 15:18
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Tfind.com是什么? 查看 1,444 回复 0
楼 主 Tfind.com是什么? 发表于 2010-11-13 21:40 ·  中国 广东 佛山 顺德区 电信
初级用户
积分 59
发帖 28
注册 2010-11-05 01:45
UID 177110
性别 男
状态 离线
DOS下如何让批处理自动识别某个盘符是第几个分区?

@ECHO OFF
gdisk 1 > %temp%\temp.txt
TFind /f30,10 "label" %temp%\temp.txt >%temp%\temp1.txt
type %temp%\temp1.txt | lmod set type=[20 $1 U][+]set part=[5 $1] >%temp%\temp.bat
call %temp%\temp.bat
if %type%==LOGICAL count part -1
set type=
del %temp%\temp*.*
:end
--------------------
问题提出:
以上代码TFind /f30,10参数是什么意思?
TFind.com 哪里下载,
谢谢前辈解答!
论坛跳转: