Home > Topic List > How to write batch script bat

How to write batch script bat

How to write batch script bat: 1. Use the "@echo off" command to turn off command echo; 2. Use the "REM" command to add comments; 3. Use the "set" command to set variables, and use "=" to separate the variable name and value. ; 4. Use the "echo" command to output the value of a variable or other text; 5. Use the "dir" command to list the files and folders in the current directory; 6. Use the "pause" command to pause the execution of the script and wait for the user to press any key key to continue execution. You can read the following article to learn more about how to write batch script bat.

Related courses More >
AdvancedJavaScript classic cases

6793 times of learning

Collection
ElementaryJavascript basic tutorial

27318 times of learning

Collection
Related Tutorials More >
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!