(已解决)求下列的批处理改为au3
本帖最后由 ze0702 于 2023-7-27 06:41 编辑for /f "delims= " %%a in ('1.exe') do (
set www=%%a
if "!www!"=="error:" (
echo 找不到隐藏分区
) else (
echo 找到的隐藏分区是 !www! 盘
)
) $iPID=Run(@ComSpec&" /c 1.exe",@SystemDir,@SW_HIDE,2)
ProcessWaitClose($iPID)
$sResult=StdoutRead($iPID)
If $sResult="error:" Then
MsgBox(0,"","找不到隐藏分区")
Else
MsgBox(0,"","找到的隐藏分区是 "&$sResult&" 盘")
EndIf
页:
[1]