Board logo

标题: dpit结果 [打印本页]

作者: terse     时间: 2007-1-28 03:49    标题: dpit结果
假如dpit结果如下:
No. Type PartitionType Active StartSector Sectors MBytes
1:1 Logic HPFS/NTFS 31101903 50829597 24819
1:2 Logic HPFS/NTFS 81931563 163846872 80003
1:3 Logic HPFS/NTFS 245778498 74380887 36318
1:4 Primary HPFS/NTFS Yes 63 31101777 15186

在DOS下怎样得到如下显示到1.txt:
1:1
1:2
1:3
1:4

如果有多硬盘是否可以显示到1.txt:
1:1
1:2
1:3
1:4
2:1
2:2
2:3
2:4

作者: lianjiang2004     时间: 2007-1-28 04:59
上面的dpit结果就是错的。

作者: terse     时间: 2007-1-28 05:15
我是COPY论坛上的 意思就是 后面的不要 想自动GHOST用
WIN下可以用for /f "eol=, tokens=1 delims=, " %%i in (1.txt) do echo %%i>>2.txt 处理
想知道DOS下怎么处理

Last edited by terse on 2007-1-28 at 05:31 AM ]