有沒有辦法使用下列腳本來指定特定的轉換任務?
如果我設定 MCEbuddy 不要監控目錄,這樣運作完全正常,但我需要在這個(或修改後的)腳本中指定特定的轉換任務。感謝你的協助。
@echo off
C:\\Progra~1\\MCEBuddy2x\\MCEBuddy.UserCLI.exe --command=engine --action=start
timeout /t 2 /nobreak > NUL
C:\\Progra~1\\MCEBuddy2x\\MCEBuddy.UserCLI.exe --command=addfile --action=%1
timeout /t 10 /nobreak > NUL
:loop
for /f "delims=" %%o in ('C:\\Progra~1\\MCEBuddy2x\\MCEBuddy.UserCLI.exe --command=jobstatus --action=%1 --quiet') do set status=%%o
if %status% == "not present" (
Exit
) else (
timeout /t 2 /nobreak > NUL
goto loop
)
