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

PDF
Complete Guide for Linux shell programming
PPT
PPTX
Access Control List (ACL)
PPT
Ip Addressing
PPTX
Regular Expression
PPT
IPV4 Frame Format
PPT
Socket Programming
PPT
Boundary value analysis
Complete Guide for Linux shell programming
Access Control List (ACL)
Ip Addressing
Regular Expression
IPV4 Frame Format
Socket Programming
Boundary value analysis

What's hot (20)

PPTX
Dijkstra & flooding ppt(Routing algorithm)
PPT
TCP Model
PPTX
Database security and security in networks
PDF
loaders and linkers
PPT
Chapter 5 Syntax Directed Translation
PPTX
PDF
Intro to DNS
PPTX
Lexical analysis - Compiler Design
DOC
PPT
Linux architecture
PPT
PPT
slide on DNS
PPTX
PUSH DOWN AUTOMATA VS TURING MACHINE
PPT
The constrained application protocol (CoAP)
PPTX
Wireshark
PDF
Network Address Translation (NAT)
ODP
Linux commands
PPTX
Data structures and algorithms
PPTX
Bash shell scripting
PPT
12. Indexing and Hashing in DBMS
Dijkstra & flooding ppt(Routing algorithm)
TCP Model
Database security and security in networks
loaders and linkers
Chapter 5 Syntax Directed Translation
Intro to DNS
Lexical analysis - Compiler Design
Linux architecture
slide on DNS
PUSH DOWN AUTOMATA VS TURING MACHINE
The constrained application protocol (CoAP)
Wireshark
Network Address Translation (NAT)
Linux commands
Data structures and algorithms
Bash shell scripting
12. Indexing and Hashing in DBMS
Ad

Similar to Windows batch scripting (20)

PDF
Batch file-programming
PDF
Batch file programming
PPTX
Batch programming and Viruses
PPTX
Batch programming
PPTX
Batch programming
PDF
Windows CMD commands.pdf
PDF
Batch File Programming
PPT
Batch file programming
PPTX
Batch FIles
PDF
Tool Development 08 - Windows Command Prompt
ODP
Class 2
PDF
Chapter 1: Introduction to Command Line
PPTX
Chapter 1: Introduction to Command Line
PPTX
Licão 02 shell basics bash intro
PDF
Command line essentials
PPTX
Command Line Interpreter
PDF
SumanKAdinarayana_CommandPromptBasics_TipsNTricksPage1_10Apr2022.pdf
PPTX
Introduction to shell
PPTX
Introduction 2 linux
PPT
PowerShell Core Skills (TechMentor Fall 2011)
Batch file-programming
Batch file programming
Batch programming and Viruses
Batch programming
Batch programming
Windows CMD commands.pdf
Batch File Programming
Batch file programming
Batch FIles
Tool Development 08 - Windows Command Prompt
Class 2
Chapter 1: Introduction to Command Line
Chapter 1: Introduction to Command Line
Licão 02 shell basics bash intro
Command line essentials
Command Line Interpreter
SumanKAdinarayana_CommandPromptBasics_TipsNTricksPage1_10Apr2022.pdf
Introduction to shell
Introduction 2 linux
PowerShell Core Skills (TechMentor Fall 2011)
Ad

More from ArghodeepPaul (12)

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

Recently uploaded (20)

PPTX
Amdahl’s law is explained in the above power point presentations
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
Principal presentation for NAAC (1).pptx
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PDF
Java Basics-Introduction and program control
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PPTX
Software Engineering and software moduleing
PDF
Introduction to Power System StabilityPS
PDF
Design of Material Handling Equipment Lecture Note
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
PPTX
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
PDF
MLpara ingenieira CIVIL, meca Y AMBIENTAL
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PDF
Computer organization and architecuture Digital Notes....pdf
PPTX
MAD Unit - 3 User Interface and Data Management (Diploma IT)
PPTX
PRASUNET_20240614003_231416_0000[1].pptx
PPTX
Petroleum Refining & Petrochemicals.pptx
Amdahl’s law is explained in the above power point presentations
Exploratory_Data_Analysis_Fundamentals.pdf
Management Information system : MIS-e-Business Systems.pptx
Principal presentation for NAAC (1).pptx
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
Java Basics-Introduction and program control
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
Software Engineering and software moduleing
Introduction to Power System StabilityPS
Design of Material Handling Equipment Lecture Note
August -2025_Top10 Read_Articles_ijait.pdf
Module 8- Technological and Communication Skills.pptx
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
MLpara ingenieira CIVIL, meca Y AMBIENTAL
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Computer organization and architecuture Digital Notes....pdf
MAD Unit - 3 User Interface and Data Management (Diploma IT)
PRASUNET_20240614003_231416_0000[1].pptx
Petroleum Refining & Petrochemicals.pptx

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)