Introduction to common commands of bat script

 

basic introduction:

The content of the batch file is Command comments
@echo off Do not display subsequent command lines and the current command line
dir c:\*.* >a.txt Write the list of files on the c drive to a.txt
call c:\ucdos\ucdos.bat call ucdos bat file
echo hello show "hello" 
pause   Pause, wait for the key to continue
rem ready to run wps Notes: Prepare to run wps 
cd ucdos Enter the ucdos directory
wps run wps

 


                

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326453417&siteId=291194637