Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology