:: CMD will not work properly.
ECHO QuanTangMang: Demo a BAT file
:: Print the board
IPCONFIG / ALL
:: Show test information on the command prompt
PAUSE
:: The content of the test is used to view important information.
PING www.google.com
:: Ping to Google.com
ECHO Information on Google Ping.
:: Print the board
PAUSE
:: Give users the content to view. The command is on the same day after the movie has started, so the command will continue.
After inserting the internal file for the BAT file, save and then double-click it to run the bat file. The screen will show the following result:
So you succeeded!
If you want to edit the BAT file, open the BAT file with Notepad by right-clicking on the BAT file, selecting Open with> Notepad.
If you want to learn more about BAT files, you can see the commands available here. You can then write your own programs or refer to the examples available here.
Using BAT files is a really useful solution to run programs (such as Java) with just one command line, saving you time instead of typing the command line from the beginning. After understanding how it works and its commands, users can easily create files for their own work quickly.
You can try These hack tips are only Notepad can do to get a better understanding of how to create a .bat file and just relax.
See more: