How to create batch file, subroutine, echo, pause, goto command | Batch Script #2

preview_player
Показать описание
This video is a part of the batch script or batch file course by Quiet Coder ( @Quiet_Coder ). In this video you will learn how to create a batch file, what are subroutines or sections in batch files, echo command (how to print text in batch file), pause command, goto command, and how to print a blank line.

How to create batch file, subroutine, echo, pause, goto command | Batch Script #2

#batchfile #batchscript #tutorial

Chapters:
0:00 Intro
0:16 How to create a batch file (.bat)
1:53 echo command
2:20 pause command
2:49 @echo off command
3:11 Hide pause command text (press any key to continue)
3:34 @ command
4:00 Subroutine or section in batch file
4:47 goto command in batch file
5:30 comments in batch file (rem & ::)
6:31 print blank line in batch file
6:50 outro

Subscribe !

Disclaimer:
Any script or a code snippet shown in the video is harmless and fake, and is not intended to cause any harm to anyone or their property. The script might delete your data (with your consent) or shutdown your computer (with your consent) so try at your own risk. And everything shown in the video is only for educational purposes.
Рекомендации по теме
Комментарии
Автор

I like to use DOS batch files as open source container to put a routine inside the batch file to create&run a new executable file from the routine with a little help from the external debug command. Have fun.😊

maxmuster
Автор

For a subroutine in Windows batch files we have to use the call command and not the goto command, else it is not a valid subroutine.

maxmuster
Автор

Batch files in DOS never close the command prompt at the end.

maxmuster
welcome to shbcf.ru