How to create a batch .bat files on Windows

step1
first in the desktop or right-click the folder → New → Text Document
Here Insert Picture Description
step2
Then, the text document, and in which the input @echo hello pause (to time may be garbled when open)
Here Insert Picture Description
step3
Then, click File → Save As
Here Insert Picture Description
step4
this step is very critical, change the file name suffix .bat, save for all types of files, 8-encoded as UTF
Here Insert Picture Description
STEP5
we then double-click the batch file called hello, you can see that it's already a Windows batch type the
Here Insert Picture Description
step6
last step, we look at how to open the effects
Here Insert Picture Description
can be seen originally output hello, but garbled, tutorials, to this end

Published 76 original articles · won praise 18 · views 40000 +

Guess you like

Origin blog.csdn.net/Yanzudada/article/details/104958252