0% found this document useful (0 votes)
26 views

Basic Windows Commands

Windows commands

Uploaded by

jackbudget1
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Basic Windows Commands

Windows commands

Uploaded by

jackbudget1
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Basic Windows Command Prompt Commands

Command Description
cd Display the pathname for the current directory.
cd \directorypath Change to directory.
(.. = parent \ = root of current drive, z: = the z root
directory)
cls Clear a command window for a fresh start.
copy source destination Copy files and directories.
del [filename] Delete one or more files.
dir List directory contents.
echo %cd% Display the pathname for the current directory.
find expression [filename] Search files or output for a particular expression.
md or mkdir [directory] Create a new directory.
more [filename] View the contents of a file one page at a time.
move source destination Move file(s) or directories.
rd or rmdir [directory] Delete directory (folder).
ren or rename [filename] Rename a file or set of files.
type [filename] Display file’s contents in console
(txt file open in Notepad or default program)

Get help on how to use a command:

type [command] --help

Find an expression in a file and write the lines containing the expression to another file:

find expression [filename] > [newfilename]

You might also like