Command Prompt Cheatsheet - Columbia University
[Pages:1]Windows Command Prompt Cheatsheet
- Command line interface (as opposed to a GUI - graphical user interface) - Used to execute programs - Commands are small programs that do something useful - There are many commands already included with Windows, but we will use a few. - A filepath is where you are in the filesystem
? C: is the C drive ? C:\user\Documents is the Documents folder ? C:\user\Documents\hello.c is a file in the Documents folder
Command dir
cd chdir
md mkdir rm rmdir
copy
move
ren rename del exit
echo
type fc
cls help
What it Does
Usage
Displays a list of a folder's files and subfolders
dir (shows current folder) dir myfolder
Displays the name of the current cd filepath
directory or changes the current chdir filepath
folder.
cd .. (goes one directory up)
Creates a folder (directory)
md folder-name mkdir folder-name
Deletes a folder (directory)
rm folder-name rmdir folder-name rm /s folder-name rmdir /s folder-name Note: if the folder isn't empty, you must add the /s.
Copies a file from one location to copy filepath-from filepath-to another
Moves file from one folder to another
move folder1\file.txt folder2\
Changes the name of a file
ren file1 file2
Deletes one or more files
del filename
Exits batch script or current
exit
command control
Used to display a message or to echo message turn off/on messages in batch scripts
Displays contents of a text file type myfile.txt
Compares two files and displays fc file1 file2 the difference between them
Clears the screen
cls
Provides more details about DOS/Command Prompt commands
help (lists all commands) help command
Source:
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- a quick guide to the winzip command line add on
- introduction to microsoft dos i command prompt
- cygwin command line windows
- how to save a directory list wild apricot
- command line and automation tools
- getting started with windows command prompt
- learning ms dos basics a tutorial
- command prompt cheatsheet columbia university
- ms dos command examples behtek
- list of ms dos commands
Related searches
- open command prompt from powershell
- powershell run command prompt command
- windows command prompt cheat sheet
- command prompt for dummies pdf
- command prompt cheat sheet pdf
- command prompt commands pdf
- command prompt manual pdf
- command prompt print environment variable
- list of command prompt commands
- command prompt windows 10
- command prompt windows 10 download
- command prompt admin download win 10