Links:
VitaminXP.com
EnjoyMP3s.com
eSoftie.com
Sign In:
Your IP: 18.219.253.199
MyForwards.com

How to Set Up/Use Windows Features Command Prompt, CMD Command Line List and Reference

    Command Line List and Reference

    The complete list of possible commands is quite large. Collected here is a selection of those that I believe are likely to be the most applicable to home PC use.
    Some of the commands listed below are also discussed in more detail elsewhere on this site as is inducated by the link "details here". Most commands have switches that are not given in the table.. For more information, open a command prompt and enter "commandname /?" (without quotes). Detailed information about these commands and a larger list is available at this Microsoft reference.
    Selected list of commands
    Command Description Example
    assoc Displays or modifies file name extension associations. Used alone, displays a list of all the current file name associations details here
    attrib Configures file attributes read only, hidden, sytem details here
    cd or chdir Displays the name of the current directory or changes the current folder cd folderpath
    copy Copies a file from one location to another copy somefile somefolder
    del Deletes one or more files details here
    dir Displays a list of a folder's files and subfolders details here
    echo Used to display a message or to turn off/on messages in batch scripts echo message
    exit Exits batch script or current command control exit
    fc Compares two files and displays the differences between them fc file1 file2
    ftype Displays or modifies file types used in file name extension associations details here
    for, if, goto Commands used in batch scripts for branching and logical decisions  
    getmac Returns the media access control (MAC) address for your network card getmac
    ipconfig Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings details here
    md or mkdir Creates a directory (folder) or subdirectory (subfolder) details here
    more Displays one screen of output at a time. Used with another command that has extensive output command |more
    move Moves a file from one folder to another details here
    netsh Network services shell . Complex suite of commands. details here
    netstat Displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table, statistics for the IP, ICMP, TCP, and UDP protocols details here
    path Sets the command path in the PATH environment variable, which is the set of directories used to search for executable files details here
    pathping Provides information about network performance and conditions at intermediate hops between a source and destination details here
    pause Used in batch scripts pause
    ping Checks connectivity to other networked computers, routers, or Internet sites details here
    popd, pushd Changes the directory being referenced in a command prompt. Pushd changes the directory and stores the previous directory. Popd changes the current directory to the directory stored by the pushd command pushd somefolder
    popd
    reg Adds, changes, and displays registry entries. A suite of various commands details here
    rd or rmdir Deletes a directory (folder) details here
    ren or rename Changes the name of a file or a set of files details here
    sc Used to otain information about services and to configure them. A suite of various commands details here
    schtasks Schedules commands and programs to run periodically or at a specific time  
    set Displays, sets, or removes environment variables details here
    sfc System file checker scans and verifies the versions of all protected system files sfc /scannow
    shutdown Shuts down or restarts a computer details here
    subst Associates a folder with a drive letter details here
    systeminfo Displays detailed configuration information about a computer and its operating system systeminfo | more
    taskkill Ends one or more tasks or processes details here
    tasklist Displays a list of applications and services with their Process ID (PID) for all tasks running details here
    tree Graphically displays the directory structure of a folder or drive tree somefolder
    xcopy Powerful command with many switches for copying and backing up files and folders details here

    Published on: 2006-09-11 Author: