Batch file under DOS

  
        A file with a suffix of bat is a batch file, which is a text file. Simply put, its role is to automatically execute multiple commands in succession. The contents of the batch file are one-by-one commands. So what is it used for? For example, when starting wps software, you must execute C:\\〉cd wps C:\\WPS>spdos C:\\WPS>py C:\\WPS>wbx C:\\WPS>wps every time you use WPS Do you feel that it is very troublesome to do this once? If there is a method, just write a batch file, it will automatically execute all the commands just now, do you want to learn? You will be amazed when you finish reading this section and the first batch of your own written files is executed smoothly. In addition, each time the computer starts, it will look for the batch file autoexec.bat, so that you can execute some commands that must be executed every time you boot, such as setting the path path, loading the mouse driver mouse, disk acceleration smartdrv, etc., can make your computer Really automated.
Copyright © Windows knowledge All Rights Reserved