jzylcj 发表于 2011-4-15 19:59:47

如何读取GHOST镜像文件分区格式

请教高人,用AU3如何读取GHOST镜像文件分区格式

jzylcj 发表于 2011-4-15 20:48:06

$file=FileOpen("C:\Documents and Settings\Administrator\桌面\dd.gho")
$i=1
While 1
    $chars = FileReadLine ($file)
        If StringInStr($chars,"fat32") Then
                MsgBox(0, "文件格式", "GHOST镜像文件分区为FAT32")
               ExitLoop
                EndIf
If $i=50 Then
        MsgBox(0, "文件格式", "GHOST镜像文件分区为NTFS")
ExitLoop
EndIf
   
    $i+=1
Wend

FileClose($file)

haijie1223 发表于 2011-4-16 14:53:36

原来这样也可以   谢谢

nerdpal 发表于 2011-4-19 20:09:40

测试通过,多谢!
页: [1]
查看完整版本: 如何读取GHOST镜像文件分区格式