0% found this document useful (0 votes)
15 views22 pages

Windows

The document provides a comprehensive list of command-line commands for file and directory management in a Windows environment, including examples for each command. It also outlines key system folders and their purposes, such as C: or system files and C: ogram Files for application files. Additionally, network commands for connectivity testing and process management are included.

Uploaded by

digitalheus
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views22 pages

Windows

The document provides a comprehensive list of command-line commands for file and directory management in a Windows environment, including examples for each command. It also outlines key system folders and their purposes, such as C: or system files and C: ogram Files for application files. Additionally, network commands for connectivity testing and process management are included.

Uploaded by

digitalheus
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Username: student Password: student

Command Description Example

dir List folders and files dir dir C:\Users dir /a dir /a C:\Users

cd Change directory E: | C: cd C:\Users cd .. cd Desktop

mkdir Create directory mkdir test

rmdir Remove directory rmdir test rmdir /s non-empty-test

move Move files or folders move file1.txt folder1 move a.txt b.txt move folder1 folder2

echo Print text echo “Hello World” Echo “test” > file1.txt

type View content of a file type file1.txt

del Delete file del file1.txt

copy Copy file copy a.txt b.txt copy a.txt folder1


Command Description Example

ren Rename file ren a.txt newname.txt

attrib Change attributes of files or folders attrib +h a.txt attrib -h a.txt attrib +h folder dir /a:h

tasklist List running processes tasklist

taskkill Kill running process taskkill /f /pid 1547

ipconfig Display network information ipconfig ipconfig /all

netstat Display active connections netstat netstat /ano

ping Test network connectivity ping google.com

tracert Show path to destination tracert google.com

mklink Create links mklink soft file mklink /H hard file mklink /D link dir
Folder name Folder description

C:\ Top level point that hold all the system files.

C:\Windows Contains operating system files.

C:\Program Files Contains applications files.

C:\Program Files (x86) Contains 32bit applications on 64bit operating system.

C:\Users Contains users home directories.

C:\ProgramData Contains configuration files of applications (Hidden).

You might also like