Professional Documents
Culture Documents
Assignment 1
Assignment 1
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
Command 4
Ping ip: ping the ip address
Command 5
Color change
Command 6
Name change
Command 7
Shutdown timer
Command 8
Command 9
Hide folder
Command 10
Version
Part 2
Output