Skip to content

tyShinkle/batch-script-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

Batch Script Tutorial

This is a tutorial for writing batch scripts on Windows OS. Batch scripts go hand in hand with cmd.exe on Windows systems. To learn more about cmd.exe read my tutorial here.

Setting Up

In this tutorial we will just use notepad and save our files as with the .bat extension.

Hello World in Batch with cmd.exe.

  • Open up Notepad.exe
  • Type @echo hello world
  • Save as hello.bat
  • Navigate to the directory you saved hello.bat in and type hello.bat then press enter.

Comments

You can add comments to batch files by starting a line with either REM or ::.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published