Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

COMP1029 - MS Client Operating

System 02 (P00 Group 2)


Activity 1( In-class)
Danish Kalia (L) -2948
Kunal- 2700
Tejinder Singh-2683
Kulbir Singh- 9294
Mansi wahi- 3565
A batch file, often known as a batch job, is a collection of commands that are executed in order
without the need for user input or involvement. A batch file is saved as a file with the.bat file
extension on a computer running a Microsoft operating system like Windows. Other operating
systems may use a shell script to define a batch job, which contains a list of commands to run one
after the other.

Batch files are frequently used to load applications, run many processes at once, and complete
routine or repetitive activities.

For example, a batch job could be used to back up files, process log files, run several calculations or
diagnostics, or any other job that requires multiple commands to run.

The Command shell and PowerShell are the two command-line shells available in Windows. Each
shell is a piece of software that allows you to communicate directly with the operating system or
application, allowing you to automate IT tasks.

The Command shell was the first shell in Windows to use batch (.bat) files to automate everyday
processes like user account management and nightly backups. You could use Windows Script Host to
run more complex scripts in the Command shell. See cscript or wscript for more details. Scripts are
more efficient than the user interface when it comes to performing activities. All commands
available at the command line are accepted by scripts.

Directory change
Bat file

Command 1
Systeminfo= It will display the information of system

Command 2
Ipconfig : It will tell the ip information

Command 3

Cipher: changing the work directory

Command 4
Ping ip: ping the ip address

Command 5

Color change

Command 6

Name change

Command 7

Shutdown timer

Command 8

Copy the ipconfig

Command 9
Hide folder

Command 10

Version

Part 2

Output

You might also like