Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Batch operation under window: calling .bat and .exe files in bat file

Shulou Source: shulou.com Published: 2022-06-03 05:17:57 11月24日 Update

File name test.bat

Rem starts GTRManager.exestart cmd / k "D:\ GTRManager_old\ GTRECM\ GTRManager.exe" ping 127.0.0.1-n 10 rem launch start.batD:cd D:\ v2r3c06spc100_spe_hutaf\ HutafAgentstart cmd / k "" call start.batping 127.0.0.1-n 10 rem launch agentWatcher.batD:cd D:\ SCG_CI_Agent\ agentstart cmd / k "" call agentWatcher.batping 127.0.0.1-n 10 rem launch RemoteE.exe "start cmd / k" D:\ cote\ app\ RemoteE.exe "pause

The above code implements that .bat and .exe files are called in a batch file and the execution window of the new .bat file is displayed.

If you do not need to display the execution window of the new .bat file, execute the call xxx.bat file

Tags: File code file name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Technology Docker Huawei Microsoft