OS Lab Report-2
OS Lab Report-2
Santosh, Tangail-1902
Lab Report 01
Course Title: Operating System Lab
Course Code: ICT-2202
Lab Report on: Windows Commands Practice
Submitted By Submitted To
Requirements
A Windows computer with administrative privileges.
Command Prompt (cmd.exe) and PowerShell installed (default in Windows).
Basic familiarity with the Windows operating system.
Help:
The help command in Windows provides a list of available commands in the Command
Prompt, along with a brief description of each command. It's a quick way to get an overview
of the built-in commands and their basic usage.
Cd (change directory):
The cd command in Windows stands for "Change Directory." It is used to navigate between
directories (folders) in the Command Prompt. This command is essential for moving through
your file system and accessing different directories for file operations.
Dir (directory):
The dir command in Windows displays a list of files and subdirectories in a specific
directory. It’s a fundamental command used for exploring the contents of directories in the
Command Prompt.
Copy:
The copy command in Windows is used to copy files from one location to another. It is a
straightforward way to duplicate files or merge multiple files into one.
Move:
The move command in Windows is used to move files or directories from one location to
another. Unlike the copy command, which duplicates files, the move command transfers files
or directories while removing them from the original location.
Ipconfig:
The ipconfig command in Windows is used to display and manage the network configuration
settings of your computer. It provides details about your computer’s IP address, subnet mask,
default gateway, and other networking information.
Echo:
The echo command in Windows is used to display messages, enable or disable command-
echoing, or create text content in files.
Pause:
The pause command in Windows is used in batch files or scripts to temporarily halt
execution and display the message:
Attrib:
The attrib command in Windows is a command-line utility used to view, set, or change file
and directory attributes. It is useful for managing file properties like making files hidden,
read-only, or clearing these attributes.
Assoc:
The assoc command in Windows is used to display or modify file extension associations. It
maps file extensions (like .txt or .jpg) to specific file types or programs that handle them.
Cipher:
The cipher command in Windows is used to manage encryption and decryption of files and
folders using the Encrypting File System (EFS). EFS is a built-in feature in Windows that
provides file-level encryption to protect sensitive data.
Icacls:
The Icacls command in Windows is used to display or modify access control lists (ACLs) of
files and directories. ACLs define permissions (such as read, write, and execute) for users and
groups.
Fc:
The fc command in Windows is used to compare two files or sets of files and display the
differences between them. It's commonly used to identify changes in text files or compare
binary files.
Find:
Windows does not have a direct equivalent of the Unix/Linux find command, but it provides
several alternatives for searching for files, folders, and text content.
Schtasks:
The schtasks command in Windows is a powerful utility to create, delete, manage, and run
scheduled tasks directly from the command line. It allows you to automate repetitive tasks by
scheduling them to run at specific times or events.
Wmic:
The wmic (Windows Management Instrumentation Command-line) command is a powerful
utility in Windows that allows users to retrieve or manipulate system and hardware
information directly from the command line. It leverages WMI (Windows Management
Instrumentation) to access management data and perform administrative tasks.
Whoami:
The whoami command in Windows is used to display information about the current user. It
provides details about the username, group memberships, privileges, and more. This
command is helpful for verifying the identity of the logged-in user, especially in multi-user or
administrative environments.
Route:
The route command in Windows is used to view and manipulate the IP routing table. It
allows you to add, delete, or modify routes for network traffic, making it an essential tool for
managing network configuration and troubleshooting connectivity issues.
Ping:
Tracert:
Netstat:
Tasklist:
Taskkill:
Systeminfo:
Chkdsk (check disk error):
Gpupdate:
Date & Time (displays or set the current date & time):
Print route:
Conclusion
The Windows command-line interface is a robust and adaptable tool. Gaining proficiency in
its diverse commands allows users to manage systems efficiently, troubleshoot problems
effectively, and enhance their technical expertise. By mastering these skills, users can execute
tasks more swiftly, address issues with confidence, and unlock the full capabilities of
Windows systems.
.