Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Batch operation under window: execute .bat file in a directory under WindDows

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

@ echo-- @ echo executes the Gen.bat file @ echo in the D disk directory -@ set DES=D:\ CompileD:cd% DES%call Gen.batping 127.0.0.1-n 3

The meaning of the above batch operation is:

@ echo means echo. Print on screen IQ @ set DES=D:\ Compile define variable DES as destination path cd% DES%: enter to destination path call Gen.bat execute Gen.bat file ping 127.0.0.1-n 3 connect local IP 3 times, play the role of delay

Tags: File meaning purpose path directory function variable screen IQ Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Tech Info Shulou Information Linux MariaDB