私のbatファイルで作業していないbatファイルは、VirtualBoxの
ファイルがエラーなしでメインPCのWindows 8.1にその作業罰金上で実行されますが、私はVirtualBoxのWindows XP上でそれを実行しようとした場合 を働いていないその場合@echo off
:loop
tasklist /fi "pid eq 788" | find ":" > nul
if errorlevel 1 (
ping 127.0.0.1 -n 2
goto loop
) else (
goto continue
)
:continue
del "Run.exe"
ren latest.exe "Run.exe"
start "" "Run.exe"
start /b " cmd /c del "%~f0"&exit /b
「指定した条件で実行されているタスクがありません」というエラーが表示される
VMで動作しない理由は何ですか?
何がPID = 788を持つタスクが存在しなければならないこと、あなたが考えるのですか? – Stephan
それはあなたの窓8の箱で働くことは本当に運がいいです。 –
このコードは、現在実装しようとしているより大きなAutoITコードの一部です。 https://www.autoitscript.com/forum/topic/163125-updateautoupdate-functions/ – allcapone1912