Saturday, 22 June 2019

Batch Scripting tutorial


In this tutorial series, you are going to learn batch commands using windows command line prompt.

What is Batch?
Batch is a scripting language provided by Windows operating system. You can execute batch commands in command prompt.

What is Batch Script?
Batch Script is a file that contains number of batch commands to execute. Batch script files has an extension .bat (or) .cmd.

How to run a batch file?
You can run a batch file either by clicking on it (or) by calling it in command prompt.

How to open command prompt?
Click on Windows button and search for the string cmd.

You can see the application ‘Command Prompt’, click on this.

It opens command prompt window, it looks like below.

Other ways to open Command prompt

a.   Press Windows + R button, It opens run prompt like below.

Type the string ‘cmd’ and click on OK button.

Location of command prompt executable file
‘cmd.exe’ file is located at C:\Windows\System32 folder.
Previous                                                 Next                                                 Home

No comments:

Post a Comment