Skip to main content

Posts

Showing posts from October 19, 2014

Cheat Sheet for Windows Command Prompt

To open the Windows command prompt you may do one of the following: - Click Start -> Programs -> Accessories -> Command Prompt - Click Start (or hit the Windows key), type “cmd” in search, then hit [ENTER] - Windows Key + R (#r, not the pound symbol) brings up Run. Then type “cmd” then [ENTER] - SHIFT + right-click in any folder or desktop, then select “open command window here” Basic Command Prompt Commands x /? = provides syntax info and complete list of all parameters for x (a command, like “cd”) cd = change directory cd .. = move to the parent directory cd\ = move to the root of current drive cd x = move to the current\x directory cd z: = change to the z root directory (as opposed to c:\) copy x y = copy file x to directory y (Ex: D:\games\galaga.exe C:\programs[\awesome.exe]), [] = optional copy file con = display file contents in console copy con file.txt = create text file in the console window, end with ctrl+z (^z or F6) date = change the date de