TheTechGuide Forum

General Category => Software => Topic started by: cheste on January 01, 2009, 10:48:33 AM

Title: An A-Z Index of the Windows XP command line Very important !!&
Post by: cheste on January 01, 2009, 10:48:33 AM
[font=\"Arial Narrow\"]An A-Z Index of the Windows XP command line[/font]
 [font=\"Arial Narrow\"]   ADDUSERS (http://\"http://www.ss64.com/nt/addusers.html\") Add or list users to/from a CSV file
   ARP (http://\"http://www.ss64.com/nt/arp.html\")      Address Resolution Protocol
 ~ ASSOC (http://\"http://www.ss64.com/nt/assoc.html\")    Change file extension associations
   ASSOCIAT (http://\"http://www.ss64.com/nt/associate.html\") One step file association
   AT (http://\"http://www.ss64.com/nt/at.html\")       Schedule a command to run at a later time
   ATTRIB (http://\"http://www.ss64.com/nt/attrib.html\")   Change file attributes
b
   BOOTCFG (http://\"http://www.ss64.com/nt/bootcfg.html\")  Edit Windows boot settings
   BROWSTAT (http://\"http://www.ss64.com/nt/browstat.html\") Get domain, browser and PDC info
c
   CACLS (http://\"http://www.ss64.com/nt/cacls.html\")    Change file permissions
 ~ CALL (http://\"http://www.ss64.com/nt/call.html\")     Call one batch program from another
 ~ CD (http://\"http://www.ss64.com/nt/cd.html\")       Change Directory - move to a specific Folder
   CHANGE (http://\"http://www.ss64.com/nt/change.html\")   Change Terminal Server Session properties
   CHKDSK (http://\"http://www.ss64.com/nt/chkdsk.html\")   Check Disk - check and repair disk problems
   CHKNTFS (http://\"http://www.ss64.com/nt/chkntfs.html\")  Check the NTFS file system
   CHOICE (http://\"http://www.ss64.com/nt/choice.html\")   Accept keyboard input to a batch file
   CIPHER (http://\"http://www.ss64.com/nt/cipher.html\")   Encrypt or Decrypt files/folders
   CleanMgr (http://\"http://www.ss64.com/nt/cleanmgr.html\") Automated cleanup of Temp files, recycle bin
   CLEARMEM Clear memory leaks
   CLIP (http://\"http://www.ss64.com/nt/clip.html\")     Copy STDIN to the Windows clipboard.
 ~ CLS      Clear the screen
   CLUSTER  Windows Clustering
   CMD (http://\"http://www.ss64.com/nt/cmd.html\")      Start a new CMD shell
 ~ COLOR (http://\"http://www.ss64.com/nt/color.html\")    Change colors of the CMD window
   COMP (http://\"http://www.ss64.com/nt/comp.html\")     Compare the contents of two files or sets of files
   COMPACT  Compress files or folders on an NTFS partition
   COMPRESS Compress individual files on an NTFS partition
   CON2PRT (http://\"http://www.ss64.com/nt/con2prt.html\")  Connect or disconnect a Printer
   CONVERT  Convert a FAT drive to NTFS.
 ~ COPY (http://\"http://www.ss64.com/nt/copy.html\")     Copy one or more files to another location
   CSCcmd (http://\"http://www.ss64.com/nt/csccmd.html\")   Client-side caching (Offline Files)
   CSVDE (http://\"http://www.ss64.com/nt/csvde.html\")    Import or Export Active Directory data
d
 ~ DATE (http://\"http://www.ss64.com/nt/date.html\")     Display or set the date
   Dcomcnfg DCOM Configuration Utility
   DEFRAG (http://\"http://www.ss64.com/nt/defrag.html\")   Defragment hard drive
 ~ DEL (http://\"http://www.ss64.com/nt/del.html\")      Delete one or more files
   DELPROF (http://\"http://www.ss64.com/nt/delprof.html\")  Delete NT user profiles
   DELTREE (http://\"http://www.ss64.com/nt/del.html\")  Delete a folder and all subfolders
   DevCon (http://\"http://support.microsoft.com/?kbid=311272\")   Device Manager Command Line Utility
 ~ DIR (http://\"http://www.ss64.com/nt/dir.html\")      Display a list of files and folders
   DIRUSE (http://\"http://www.ss64.com/nt/diruse.html\")   Display disk usage
   DISKCOMP (http://\"http://www.ss64.com/nt/diskcomp.html\") Compare the contents of two floppy disks
   DISKCOPY (http://\"http://www.ss64.com/nt/diskcopy.html\") Copy the contents of one floppy disk to another
   DISKPART (http://\"http://www.ss64.com/nt/diskpart.html\") Disk Administration
   DNSSTAT  DNS Statistics
   DOSKEY (http://\"http://www.ss64.com/nt/doskey.html\")   Edit command line, recall commands, and create macros
   DSADD (http://\"http://www.ss64.com/nt/dsadd.html\")    Add user (computer, group..) to active directory
   DSQUERY  List items in active directory
   DSMOD (http://\"http://www.ss64.com/nt/dsmod.html\")    Modify user (computer, group..) in active directory
e
 ~ ECHO (http://\"http://www.ss64.com/nt/echo.html\")     Display message on screen
 ~ ENDLOCAL (http://\"http://www.ss64.com/nt/endlocal.html\") End localisation of environment changes in a batch file
 ~ ERASE (http://\"http://www.ss64.com/nt/del.html\")    Delete one or more files
 ~ EXIT (http://\"http://www.ss64.com/nt/exit.html\")     Quit the current script/routine and set an errorlevel.
   EXPAND (http://\"http://www.ss64.com/nt/expand.html\")   Uncompress files
   EXTRACT (http://\"http://www.ss64.com/nt/extract.html\")  Uncompress CAB files
f
   FC (http://\"http://www.ss64.com/nt/fc.html\")       Compare two files
   FIND (http://\"http://www.ss64.com/nt/find.html\")     Search for a text string in a file
   FINDSTR (http://\"http://www.ss64.com/nt/findstr.html\")  Search for strings in files
 ~ FOR /F (http://\"http://www.ss64.com/nt/for_f.html\")   Loop command: against a set of files
 ~ FOR /F (http://\"http://www.ss64.com/nt/for_cmd.html\")   Loop command: against the results of another command
 ~ FOR (http://\"http://www.ss64.com/nt/for.html\")      Loop command: all options Files, Directory, List
   FORFILES (http://\"http://www.ss64.com/nt/forfiles.html\") Batch process multiple files
   FORMAT (http://\"http://www.ss64.com/nt/format.html\")   Format a disk
   FREEDISK Check free disk space (in bytes)
   FSUTIL (http://\"http://www.ss64.com/nt/fsutil.html\")   File and Volume utilities
   FTP (http://\"http://www.ss64.com/nt/ftp.html\")      File Transfer Protocol
 ~ FTYPE (http://\"http://www.ss64.com/nt/ftype.html\")    Display or modify file types used in file extension associations
g
   GLOBAL (http://\"http://www.ss64.com/nt/global.html\")   Display membership of global groups
 ~ GOTO (http://\"http://www.ss64.com/nt/goto.html\")     Direct a batch program to jump to a labelled line
h
   HELP (http://\"http://www.ss64.com/nt/help.html\")     Online Help
i
 ~ IF (http://\"http://www.ss64.com/nt/if.html\")       Conditionally perform a command
   IFMEMBER (http://\"http://www.ss64.com/nt/ifmember.html\") Is the current user in an NT Workgroup
   IPCONFIG (http://\"http://www.ss64.com/nt/ipconfig.html\") Configure IP
k
   KILL (http://\"http://www.ss64.com/nt/kill.html\")     Remove a program from memory
l
   LABEL (http://\"http://www.ss64.com/nt/label.html\")    Edit a disk label
   LOCAL (http://\"http://www.ss64.com/nt/local.html\")    Display membership of local groups
   LOGEVENT (http://\"http://www.ss64.com/nt/logevent.html\") Write text to the NT event viewer.
   LOGOFF (http://\"http://www.ss64.com/nt/logoff.html\")   Log a user off
   LOGTIME (http://\"http://www.ss64.com/nt/logtime.html\")  Log the date and time in a file
m
   MAPISEND (http://\"http://www.ss64.com/nt/mapisend.html\") Send email from the command line
   MBSAcli (http://\"http://www.ss64.com/nt/mbsacli.html\")  Baseline Security Analyzer.
   MEM (http://\"http://www.ss64.com/nt/mem.html\")      Display memory usage
 ~ MD (http://\"http://www.ss64.com/nt/md.html\")       Create new folders
   MKLINK (http://\"http://www.ss64.com/nt/mklink.html\")   Create a symbolic link (linkd)
   MODE (http://\"http://www.ss64.com/nt/mode.html\")     Configure a system device
   MORE (http://\"http://www.ss64.com/nt/more.html\")     Display output, one screen at a time
   MOUNTVOL (http://\"http://www.ss64.com/nt/mountvol.html\") Manage a volume mount point
 ~ MOVE (http://\"http://www.ss64.com/nt/move.html\")     Move files from one folder to another
   MOVEUSER (http://\"http://www.ss64.com/nt/moveuser.html\") Move a user from one domain to another
   MSG (http://\"http://www.ss64.com/nt/msg.html\")      Send a message
   MSIEXEC (http://\"http://www.ss64.com/nt/msiexec.html\")  Microsoft Windows Installer
   MSINFO (http://\"http://www.ss64.com/nt/msinfo.html\")   Windows NT diagnostics
   MSTSC (http://\"http://www.ss64.com/nt/mstsc.html\")    Terminal Server Connection (Remote Desktop Protocol)
   MUNGE (http://\"http://www.ss64.com/nt/munge.html\")    Find and Replace text within file(s)
   MV (http://\"http://www.ss64.com/nt/mv.html\")       Copy in-use files
n
   NET (http://\"http://www.ss64.com/nt/net.html\")      Manage network resources
   NETDOM (http://\"http://www.ss64.com/nt/netdom.html\")   Domain Manager
   NETSH (http://\"http://www.ss64.com/nt/netsh.html\")    Configure network protocols
   NETSVC (http://\"http://www.ss64.com/nt/netsvc.html\")   Command-line Service Controller
   NBTSTAT (http://\"http://www.ss64.com/nt/nbtstat.html\")  Display networking statistics (NetBIOS over TCP/IP)
   NETSTAT (http://\"http://www.ss64.com/nt/netstat.html\")  Display networking statistics (TCP/IP)
   NOW (http://\"http://www.ss64.com/nt/now.html\")      Display the current Date and Time
   NSLOOKUP (http://\"http://www.ss64.com/nt/nslookup.html\") Name server lookup
   NTBACKUP (http://\"http://www.ss64.com/nt/ntbackup.html\") Backup folders to tape
   NTRIGHTS (http://\"http://www.ss64.com/nt/ntrights.html\") Edit user account rights
p
 ~ PATH (http://\"http://www.ss64.com/nt/path.html\")     Display or set a search path for executable files
   PATHPING (http://\"http://www.ss64.com/nt/pathping.html\") Trace route plus network latency and packet loss
 ~ PAUSE (http://\"http://www.ss64.com/nt/pause.html\")    Suspend processing of a batch file and display a message
   PERMS (http://\"http://www.ss64.com/nt/perms.html\")    Show permissions for a user
   PERFMON (http://\"http://www.ss64.com/nt/monitor.html\")  Performance Monitor
   PING (http://\"http://www.ss64.com/nt/ping.html\")     Test a network connection
 ~ POPD (http://\"http://www.ss64.com/nt/popd.html\")     Restore the previous value of the current directory saved by PUSHD
   PORTQRY (http://\"http://www.ss64.com/nt/portqry.html\")  Display the status of ports and services
   PRINT (http://\"http://www.ss64.com/nt/print.html\")    Print a text file
   PRNCNFG (http://\"http://www.ss64.com/nt/prncnfg.html\")  Display, configure or rename a printer
   PRNMNGR (http://\"http://www.ss64.com/nt/prnmngr.html\")  Add, delete, list printers set the default printer
 ~ PROMPT (http://\"http://www.ss64.com/nt/prompt.html\")   Change the command prompt
   PsExec (http://\"http://www.ss64.com/nt/psexec.html\")     Execute process remotely
   PsFile (http://\"http://www.ss64.com/nt/psfile.html\")     Show files opened remotely
   PsGetSid (http://\"http://www.ss64.com/nt/psgetsid.html\")   Display the SID of a computer or a user
   PsInfo (http://\"http://www.ss64.com/nt/psinfo.html\")     List information about a system
   PsKill (http://\"http://www.ss64.com/nt/pskill.html\")     Kill processes by name or process ID
   PsList (http://\"http://www.ss64.com/nt/pslist.html\")     List detailed information about processes
   PsLoggedOn (http://\"http://www.ss64.com/nt/psloggedon.html\") Who's logged on (locally or via resource sharing)
   PsLogList (http://\"http://www.ss64.com/nt/psloglist.html\")  Event log records
   PsPasswd (http://\"http://www.ss64.com/nt/pspasswd.html\")   Change account password
   PsService (http://\"http://www.ss64.com/nt/psservice.html\")  View and control services
   PsShutdown (http://\"http://www.ss64.com/nt/psshutdown.html\") Shutdown or reboot a computer
   PsSuspend (http://\"http://www.ss64.com/nt/pssuspend.html\")  Suspend processes
 ~ PUSHD (http://\"http://www.ss64.com/nt/pushd.html\")    Save and then change the current directory
q
   QGREP (http://\"http://www.ss64.com/nt/qgrep.html\")    Search file(s) for lines that match a given pattern.
r
   RASDIAL (http://\"http://www.ss64.com/nt/rasdial.html\")  Manage RAS connections
   RASPHONE (http://\"http://www.ss64.com/nt/rasphone.html\") Manage RAS connections
   RECOVER (http://\"http://www.ss64.com/nt/recover.html\")  Recover a damaged file from a defective disk.
   REG (http://\"http://www.ss64.com/nt/reg.html\")      Registry: Read, Set, Export, Delete keys and values
   REGEDIT (http://\"http://www.ss64.com/nt/regedit.html\")  Import or export registry settings
   REGSVR32 (http://\"http://www.ss64.com/nt/regsvr32.html\") Register or unregister a DLL
   REGINI (http://\"http://support.microsoft.com/?kbid=245031\")   Change Registry Permissions
 ~ REM (http://\"http://www.ss64.com/nt/rem.html\")      Record comments (remarks) in a batch file
 ~ REN (http://\"http://www.ss64.com/nt/ren.html\")      Rename a file or files.
   REPLACE (http://\"http://www.ss64.com/nt/replace.html\")  Replace or update one file with another
 ~ RD (http://\"http://www.ss64.com/nt/rd.html\")       Delete folder(s)
   RMTSHARE (http://\"http://www.ss64.com/nt/rmtshare.html\") Share a folder or a printer
   ROBOCOPY (http://\"http://www.ss64.com/nt/robocopy.html\") Robust File and Folder Copy
   ROUTE (http://\"http://www.ss64.com/nt/route.html\")    Manipulate network routing tables
   RUNAS (http://\"http://www.ss64.com/nt/runas.html\")    Execute a program under a different user account
   RUNDLL32 (http://\"http://www.ss64.com/nt/rundll32.html\") Run a DLL command (add/remove print connections)
s
   SC (http://\"http://www.ss64.com/nt/sc.html\")       Service Control
   SCHTASKS (http://\"http://www.ss64.com/nt/schtasks.html\") Create or Edit Scheduled Tasks
   SCLIST (http://\"http://www.ss64.com/nt/sclist.html\")   Display NT Services
 ~ SET (http://\"http://www.ss64.com/nt/set.html\")      Display, set, or remove environment variables
 ~ SETLOCAL (http://\"http://www.ss64.com/nt/setlocal.html\") Control the visibility of environment variables
   SETX (http://\"http://www.ss64.com/nt/setx.html\")     Set environment variables permanently
   SHARE (http://\"http://www.ss64.com/nt/share.html\")    List or edit a file share or print share
 ~ SHIFT (http://\"http://www.ss64.com/nt/shift.html\")    Shift the position of replaceable parameters in a batch file
   SHORTCUT (http://\"http://www.ss64.com/nt/shortcut.html\") Create a windows shortcut (.LNK file)
   SHOWGRPS (http://\"http://www.ss64.com/nt/showgrps.html\") List the NT Workgroups a user has joined
   SHOWMBRS (http://\"http://www.ss64.com/nt/showmbrs.html\") List the Users who are members of a Workgroup
   SHUTDOWN (http://\"http://www.ss64.com/nt/shutdown.html\") Shutdown the computer
   SLEEP (http://\"http://www.ss64.com/nt/sleep.html\")    Wait for x seconds
   SOON (http://\"http://www.ss64.com/nt/soon.html\")     Schedule a command to run in the near future
   SORT (http://\"http://www.ss64.com/nt/sort.html\")     Sort input
 ~ START (http://\"http://www.ss64.com/nt/start.html\")    Start a program or command in a separate window.
   SU (http://\"http://www.ss64.com/nt/su.html\")       Switch User
   SUBINACL (http://\"http://www.ss64.com/nt/subinacl.html\") Edit file and folder Permissions, Ownership and Domain
   SUBST (http://\"http://www.ss64.com/nt/subst.html\")    Associate a path with a drive letter
   SYSTEMINFO (http://\"http://www.ss64.com/nt/systeminfo.html\") List system configuration
t
   TASKLIST (http://\"http://www.ss64.com/nt/tasklist.html\") List running applications and services
   TASKKILL Remove a running process from memory
 ~ TIME (http://\"http://www.ss64.com/nt/time.html\")     Display or set the system time
   TIMEOUT (http://\"http://www.ss64.com/nt/timeout.html\")  Delay processing of a batch file
 ~ TITLE (http://\"http://www.ss64.com/nt/title.html\")    Set the window title for a CMD.EXE session
   TLIST (http://\"http://www.ss64.com/nt/tlist.html\")    Task list with full path
   TOUCH (http://\"http://www.ss64.com/nt/touch.html\")    Change file timestamps    
   TRACERT (http://\"http://www.ss64.com/nt/tracert.html\")  Trace route to a remote host
   TREE     Graphical display of folder structure
 ~ TYPE (http://\"http://www.ss64.com/nt/type.html\")     Display the contents of a text file
u
   USRSTAT  List domain usernames and last login
v
 ~ VER (http://\"http://www.ss64.com/nt/ver.html\")      Display version information
 ~ VERIFY (http://\"http://www.ss64.com/nt/verify.html\")   Verify that files have been saved
 ~ VOL (http://\"http://www.ss64.com/nt/vol.html\")      Display a disk label
w
   WHERE (http://\"http://www.ss64.com/nt/where.html\")    Locate and display files in a directory tree
   WHOAMI (http://\"http://www.ss64.com/nt/whoami.html\")   Output the current UserName and domain
   WINDIFF (http://\"http://www.ss64.com/nt/windiff.html\")  Compare the contents of two files or sets of files
   WINMSD (http://\"http://www.ss64.com/nt/winmsd.html\")   Windows system diagnostics
   WINMSDP (http://\"http://www.ss64.com/nt/winmsdp.html\")  Windows system diagnostics II
   WMIC (http://\"http://www.ss64.com/nt/wmic.html\")     WMI Commands
x
   XCACLS (http://\"http://www.ss64.com/nt/xcacls.html\")   Change file permissions
   XCOPY (http://\"http://www.ss64.com/nt/xcopy.html\")    Copy files and folders
 ~ :: (http://\"http://www.ss64.com/nt/rem.html\")       Comment / Remark
[/font] [font=\"Arial Narrow\"]Commands marked ~ are Internal commands only available within the CMD shell.
 All other commands (NOT marked with ~) are external commands which may be used under the CMD shell, PowerShell (http://\"http://www.ss64.com/ps/\"), or directly from START-RUN.
[/font]

 [font=\"Arial Narrow\"]Microsoft Help pages: Windows XP (http://\"http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx\") - 2003 Server (http://\"http://technet2.microsoft.com/windowsserver/en/library/552ed70a-208d-48c4-8da8-2e27b530eac71033.mspx?mfr=true\") - 2008 Server (http://\"http://technet.microsoft.com/en-us/library/cc772390.aspx\")
Discussion forum (http://\"http://www.ss64.org/viewforum.php?id=2\")
Links to other Sites, books etc... (http://\"http://www.ss64.com/links/windows.html\")
[/font]