回复 afan
请问不用Ghost模式(/A /PDR),正则如何写?
republican 发表于 2010-5-13 10:22
不加这两个参数生成的文件是这样的啊!Syntax:
DSPTW [Disk] [Start] [Sectors] [/S|/R|/C] [FileName] [/Y]
Disk: 0-First Hard Disk, 1-Second Hard Disk, ...
A:, B:, C:, ...
d:n e.g. 0:1, 0:2, 0:3 ...
Start: Disk Absolute Sector Number
Sectors: Total Sectors to be Processed
/S: Save Disk Sector Info to File
/R: Restore Disk Sector Info from File
/C: Compare Disk Sector Info with File
FileName: Disk Sector Info File
/Y: Assume Yes on all Queries & not Display Copyright
DSPTW [Disk] [Start] [Sectors] [/L] [/P] [/A]
/L: List Disk Sector Info on Screen
/P: Pause echo Screen
/A: Show ASC Value
DSPTW [Disk] [Start] [Sectors] [/E] [/Y]
/E: Erase Disk Sector Info
DSPTW [Disk] [Start] [Sectors] [/D]|[/O] [DstDisk] [Offset] [/Y]
/D: Duplicate Disk Sector Info from Disk to DstDisk.
/O: Compare Disk Sector Info with DstDisk
DstDisk: 0-First Hard Disk, 1-Second Hard Disk, ...
A:, B:, C:, D: ...
Offset: Disk Absolute Sector Number
DSPTW [Disk] [SectorNo] [Offset] [/M] [/HEX:value] [/Y]
SectorNo: Disk Absolute Sector Number.
Offset: The Offset in Specified Sector (0..511).
/M: Modify Disk Sector Info.
/HEX: Hex Style.
value: Hex Digital String (No more than 32 characters).
DSPTW [Disk] [/S|/R|/C] [FileName] [/Y]
Disk: 0-First Hard disk, 1-Second Hard Disk, ...
/S: Save Disk Partition Info to File.
/R: Restore Disk Partiton Info from File.
/C: Compare Disk Partiton Info with File.
FileName: Disk Partition Info File.
DSPTW [Disk] [/S] [FileName] [/DBR] [/Y]
Save Partition Boot Record to File.
DSPTW [Disk] [/L] [/A] [/EXT] [/Y]
/L: List Disk Partition Info on Screen.
/A: Get Accurate TotalSectors of Disk.
/Ext: Display Big Extend Partition.
DSPTW [Disk] [/ACT:n]
Active Disk Partition n.
DSPTW [Disk] [/FIND:type] [/GhostStyle] [/Y]
/FIND: Find Disk Partition.
type: Can be FAT16/FAT32/FAT/NTFS/LINUX/DELL/HIDE/NORMAL/ALL.
/GhostStyle: Display in Ghost Style, and Disk Start From 1.
DSPTW [Disk] [/MBR] [/NOBACK] [/File:filename] [/Y]
/MBR: ReBuild Disk Main Boot Record.
/NOBACK: Don't Backup old MBR.
/File: Restore MBR from filename
DSPTW [Disk] [/HIDE|/UNHIDE:n] [/Y]
Hide/Unhide Disk Partition n.
DSPTW [Disk] [/DPS|/DPR|/DPC] [/Y]
/DPS: Save Disk Partition Info to Last Cluster.
/DPR: Restore Disk Partiton Info from Last Cluster.
/DPC: Compare Disk Partiton Info with Last Cluster.
DSPTW [Disk] [/ChangeType:type:partno] [/Y]
/ChangeType: Change Partition Type.
type: 01-FF.
partno: Partition Number.
DSPTW [Drive]|[/A] [/PDR] [/REVERSE] [/Y]
/PDR: Display Relationship of Partition & Drive(Ghost Style).
Drive: C:, D:, E ...
/A: Process All Drive.
/REVERSE: Display with a Reverse Order(Only when Switch "/A" is used).
Type "DSPTW /?" for Help.
|