Command Prompt Basics Run Commands To Learn

Handling computer with commands just feels like pro usage of the system and performing with the piece of run command and execute it.To open the Windows command prompt you may do one of the following:
Command cheats for Windows
  1. Click Start -> Programs -> Accessories -> Command Prompt
  2. Click Start (or hit the Windows key), type “cmd” in search, then hit [ENTER]
  3. Windows Key + R (#r, not the pound symbol) brings up Run. Then type “cmd” then [ENTER]
  4. 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
    del = delete/erase
    del x = deletes all files/folders fitting x
    del . = deletes all files within current directory
    del *.* = deletes all files within current directory
    dir = display contents of current directory (Ex: dir [c:][\programs]), [] = optional
    dir *.txt = list all .txt files in current directory
    dir *.? = list all files with extensions one character in length in current directory
    dir /w /p *.* = display all contents one screen at a time
    dir | more = display all contents one line at a time
    dir /? = provides syntax info and complete list of all dir parameters
    echo = send command line input to display (by default)
    echo sometext » somefile.txt = append line(s) of text to any file
    echo sometext > somefile.txt = overwrites file with sometext
    erase = delete/erase
    exit = exit the command prompt
    filename.txt = opens filename.txt in current directory in Notepad (or default .txt program)
    format z: = format z drive [Ex: use to format a disc or flash drive]
    mkdir x = make directory x in current directory
    move x y = more or rename x to y
    q = escapes sequential display of contents (i.e. the more parameter)
    rd x = remove/delete directory x if it’s empty
    ren x y = rename file x to y
    time = change the time
    type file = display the contents of the file ‘file’ (displays file contents in console)
    type file |more = display the contents one line at a time command cheats for windows              Advanced Command Prompt Commands
  • ipconfig [/all] = display network adapter information (advanced)
    netstat –n = display local address and addresses you are connected to (advanced)
    netstat –nb = above with name of foreign addresses (advanced) (this shows your private IP, if you are behind a router essay writing service or proxy, then your public IP address will be different)
    ping = how long it takes for your computer to talk to

Leave a comment