2015-07-01 154 views
-1

這是我的mk.exe是在folder1中,但是在loader2.bat完成它的工作之後,它沒有將控制權傳遞給我的loader1.bat,並且mk.exe沒有執行。仍然沒有得到調用命令

@echo off 
cd folder1\folder2 
call Loader2.bat 
mk.exe /s 

我Loader2.bat

@echo off 
DXSETUP.exe 
echo Installing DirectX ... PLease Wait... 
PhysX.exe /s 
echo Installing PhysX ... Please Wait... 
PhysXL.exe /s 
echo Installing PhysX Legacy ... Please Wait... 
vc.exe /s 
echo Installing VC Redistributable ... Please Wait... 
exit 
+2

你可以發佈'loader2.bat'嗎? –

+0

將'exit'改爲'exit/b' – SomethingDark

+0

我在退出後添加了/ b但仍然沒有任何反應, –

回答

0

如果你exit它結束處理。爲了避免這種情況,我們使用goto :eof或者直接點擊文件末尾。

變化Loader2.bat到:

@echo off 
DXSETUP.exe 
echo Installing DirectX ... PLease Wait... 
PhysX.exe /s 
echo Installing PhysX ... Please Wait... 
PhysXL.exe /s 
echo Installing PhysX Legacy ... Please Wait... 
vc.exe /s 
echo Installing VC Redistributable ... Please Wait... 

和通話功能,你的願望應該採取行動。

+0

嘗試了ghoto:eof並嘗試了上面提到的,它的運氣不好,沒有發生。 –

相關問題