SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
Windows Batch
Scripting
2011 - The Diary of Nostalgia
Instructor:
Arghodeep Paul
Firmware Engineer at BitBible Technologies Pvt. Ltd.
Content Author: Arghodeep Paul
License: OpenSource
Date: 10 July 2021
Introduction
Command:
A command is nothing but a word/keyword that instructs the system to do a specific
task. Commands are of two types internal and external.
Internal Command:
An internal Command is the built in Command which is not depended on any other
thing. These come with the operating system from the very beginning. Whenever
you install an Operating System then the built in commands also get installed.
Internal commands might be embedded into a file like Command.com(Windows) or
installed individually(Linux). E.g. cls, color, help, dir, cd, date, time
External Command:
These are external programs downloaded from the internet and after locating the
correct path they can only be run. E.g. mp3play, python, node, npm, bcrypt
Commands:
date /t
time /t
Command Prompt:
This is a black screen Application that provides CLI(Command Line Interface). One
needs to enter the commands to this window and hit enter. Then the command will
be sent to the System’s Shell. Shell is the actual command interpreter. You could
open multiple Command Prompt windows and each will have distinct Process IDs.
Their job is to only taking the Command from the User.
Command Host:
A Command is either the built-in one or external program. They need to
communicate with the Command Host/Command Processor. Which is nothing but
the Shell and more precisely Command Shell. Be it command shell or power shell,
they all belong to the Operating System’s Shell compartment.
Windows Batch File:
Batch refers to the batch execution of commands. If you want to execute 100
commands in a sequence then batch file is the solution. Instead of manually entering
commands one by one you create a list of those commands in a TextEditor and save
the file with .bat extension.
Generate Executable from Batch File:
A Batch File is editable anytime. That make the Script vulnerable to unwanted
change of source code. In order to make a batch file non editable one has to convert
the file to exe. This process is also known as .bat to .exe.
Using Third Party Software:
Developer: Fatih Kodak(Germany)

More Related Content

What's hot (20)

PPT
Fundamentals Of Computer
Jack Frost
 
PPTX
Bit locker Drive Encryption: How it Works and How it Compares
Lumension
 
PPTX
Windows Operating system.pptx
SIMNchannel
 
PDF
file handling c++
Guddu Spy
 
PPTX
Presentation on virus
Protik Roy
 
PDF
android app development training report
Rishita Jaggi
 
PPTX
Data types vbnet
nicky_walters
 
PDF
Flutter tutorial for Beginner Step by Step
Chandramouli Biyyala
 
PDF
AS2 vs. SFTP
MFT Gateway
 
PDF
Sending emails through PHP
krishnapriya Tadepalli
 
PPT
Presentation on computer viruses
Nitish Xavier Tirkey
 
PPTX
Wireless Markup Language
Hitesh Piprotar
 
PDF
Computer viruses
Alfred George
 
PPTX
Presentation on Computer Viruses
Mohak Jain
 
PPTX
Windows File Systems
primeteacher32
 
DOC
Clothing Store and Management System
Ashwini0951
 
PPTX
Primary and secondary storage devices
Pichano Kikon
 
PPTX
Computer virus and anti virus presentation
Sardar Kaukaz
 
PPTX
Unix operating system
ABhay Panchal
 
Fundamentals Of Computer
Jack Frost
 
Bit locker Drive Encryption: How it Works and How it Compares
Lumension
 
Windows Operating system.pptx
SIMNchannel
 
file handling c++
Guddu Spy
 
Presentation on virus
Protik Roy
 
android app development training report
Rishita Jaggi
 
Data types vbnet
nicky_walters
 
Flutter tutorial for Beginner Step by Step
Chandramouli Biyyala
 
AS2 vs. SFTP
MFT Gateway
 
Sending emails through PHP
krishnapriya Tadepalli
 
Presentation on computer viruses
Nitish Xavier Tirkey
 
Wireless Markup Language
Hitesh Piprotar
 
Computer viruses
Alfred George
 
Presentation on Computer Viruses
Mohak Jain
 
Windows File Systems
primeteacher32
 
Clothing Store and Management System
Ashwini0951
 
Primary and secondary storage devices
Pichano Kikon
 
Computer virus and anti virus presentation
Sardar Kaukaz
 
Unix operating system
ABhay Panchal
 

Similar to Windows batch scripting (20)

PPTX
Post exploitation using powershell
Mihir Shah
 
PPTX
I Am Linux-Introductory Module on Linux
Sagar Kumar
 
PDF
Embedded systems designUNIT 4 PART 2.pdf
vmspraneeth
 
PPT
Batch file programming
swapnil kapate
 
PPTX
Unix Operating System
MahakKasliwal
 
PPTX
Unix final
MahakKasliwal
 
PDF
Event Driven programming(ch1 and ch2).pdf
AliEndris3
 
PDF
Batch file programming
alan moreno
 
PDF
Batch file-programming
jamilur
 
PDF
ICPS operating system and services Unit 3 Notes .pdf
shubhangisonawane6
 
PDF
I B.Sc C & HA - Basics of CS
Hepsijeba
 
DOCX
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
karlhennesey
 
PPTX
Dotnet Basics Presentation
Sudhakar Sharma
 
PPTX
Chapter 1: Introduction to Command Line
azzamhadeel89
 
PDF
Chapter 1: Introduction to Command Line
azzamhadeel89
 
PPS
Power Point Lesson 04
Nasir Jumani
 
PDF
Solid-State diskA solid-state drive also known as a solid-state di.pdf
saahinmanpam
 
PPTX
system software and application software
Tallat Satti
 
PDF
Visual Studio commands
PVS-Studio
 
PDF
OS Lab 01.pdfdjjfhyfuyfiufuifuyuyfjyjuyf
SamraNawabi
 
Post exploitation using powershell
Mihir Shah
 
I Am Linux-Introductory Module on Linux
Sagar Kumar
 
Embedded systems designUNIT 4 PART 2.pdf
vmspraneeth
 
Batch file programming
swapnil kapate
 
Unix Operating System
MahakKasliwal
 
Unix final
MahakKasliwal
 
Event Driven programming(ch1 and ch2).pdf
AliEndris3
 
Batch file programming
alan moreno
 
Batch file-programming
jamilur
 
ICPS operating system and services Unit 3 Notes .pdf
shubhangisonawane6
 
I B.Sc C & HA - Basics of CS
Hepsijeba
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
karlhennesey
 
Dotnet Basics Presentation
Sudhakar Sharma
 
Chapter 1: Introduction to Command Line
azzamhadeel89
 
Chapter 1: Introduction to Command Line
azzamhadeel89
 
Power Point Lesson 04
Nasir Jumani
 
Solid-State diskA solid-state drive also known as a solid-state di.pdf
saahinmanpam
 
system software and application software
Tallat Satti
 
Visual Studio commands
PVS-Studio
 
OS Lab 01.pdfdjjfhyfuyfiufuifuyuyfjyjuyf
SamraNawabi
 
Ad

More from ArghodeepPaul (12)

PDF
Microprocessor questions converted
ArghodeepPaul
 
PDF
Windows script host
ArghodeepPaul
 
PDF
Common problems solving using c
ArghodeepPaul
 
PDF
C operators
ArghodeepPaul
 
PDF
C taking user input
ArghodeepPaul
 
PDF
C storage classes
ArghodeepPaul
 
PDF
C datatypes
ArghodeepPaul
 
PDF
C variables and constants
ArghodeepPaul
 
PDF
C program structure
ArghodeepPaul
 
PDF
Computer programming tools and building process
ArghodeepPaul
 
PDF
Algorithm pseudocode flowchart program notes
ArghodeepPaul
 
PDF
notes on Programming fundamentals
ArghodeepPaul
 
Microprocessor questions converted
ArghodeepPaul
 
Windows script host
ArghodeepPaul
 
Common problems solving using c
ArghodeepPaul
 
C operators
ArghodeepPaul
 
C taking user input
ArghodeepPaul
 
C storage classes
ArghodeepPaul
 
C datatypes
ArghodeepPaul
 
C variables and constants
ArghodeepPaul
 
C program structure
ArghodeepPaul
 
Computer programming tools and building process
ArghodeepPaul
 
Algorithm pseudocode flowchart program notes
ArghodeepPaul
 
notes on Programming fundamentals
ArghodeepPaul
 
Ad

Recently uploaded (20)

PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PPTX
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PDF
monopile foundation seminar topic for civil engineering students
Ahina5
 
PDF
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
MPMC_Module-2 xxxxxxxxxxxxxxxxxxxxx.pptx
ShivanshVaidya5
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
Thermal runway and thermal stability.pptx
godow93766
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
monopile foundation seminar topic for civil engineering students
Ahina5
 
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
Design Thinking basics for Engineers.pdf
CMR University
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
MRRS Strength and Durability of Concrete
CivilMythili
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
MPMC_Module-2 xxxxxxxxxxxxxxxxxxxxx.pptx
ShivanshVaidya5
 

Windows batch scripting

  • 1. Windows Batch Scripting 2011 - The Diary of Nostalgia Instructor: Arghodeep Paul Firmware Engineer at BitBible Technologies Pvt. Ltd. Content Author: Arghodeep Paul License: OpenSource Date: 10 July 2021
  • 2. Introduction Command: A command is nothing but a word/keyword that instructs the system to do a specific task. Commands are of two types internal and external. Internal Command: An internal Command is the built in Command which is not depended on any other thing. These come with the operating system from the very beginning. Whenever you install an Operating System then the built in commands also get installed. Internal commands might be embedded into a file like Command.com(Windows) or installed individually(Linux). E.g. cls, color, help, dir, cd, date, time External Command: These are external programs downloaded from the internet and after locating the correct path they can only be run. E.g. mp3play, python, node, npm, bcrypt Commands: date /t time /t
  • 3. Command Prompt: This is a black screen Application that provides CLI(Command Line Interface). One needs to enter the commands to this window and hit enter. Then the command will be sent to the System’s Shell. Shell is the actual command interpreter. You could open multiple Command Prompt windows and each will have distinct Process IDs. Their job is to only taking the Command from the User. Command Host: A Command is either the built-in one or external program. They need to communicate with the Command Host/Command Processor. Which is nothing but the Shell and more precisely Command Shell. Be it command shell or power shell, they all belong to the Operating System’s Shell compartment.
  • 4. Windows Batch File: Batch refers to the batch execution of commands. If you want to execute 100 commands in a sequence then batch file is the solution. Instead of manually entering commands one by one you create a list of those commands in a TextEditor and save the file with .bat extension.
  • 5. Generate Executable from Batch File: A Batch File is editable anytime. That make the Script vulnerable to unwanted change of source code. In order to make a batch file non editable one has to convert the file to exe. This process is also known as .bat to .exe. Using Third Party Software: Developer: Fatih Kodak(Germany)