windows cmd command

Upload: hiten14

Post on 09-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 Windows CMD Command

    1/4

    n A-Z Index of the Windows XP command lineADDUSERS Add or list users to/from a CSV fileARP Address Resolution ProtocolASSOC Change file extension associationsASSOCIAT One step file associationATTRIB Change file attributes

    b

    BOOTCFG Edit Windows boot settingsBROWSTAT Get domain, browser and PDC info

    cCACLS Change file permissionsCALL Call one batch program from anotherCD Change Directory - move to a specific FolderCHANGE Change Terminal Server Session propertiesCHKDSK Check Disk - check and repair disk problemsCHKNTFS Check the NTFS file systemCHOICE Accept keyboard input to a batch fileCIPHER Encrypt or Decrypt files/foldersCleanMgr Automated cleanup of Temp files, recycle bin

    CLEARMEM Clear memory leaksCLIP Copy STDIN to the Windows clipboard.CLS Clear the screenCLUSTER Windows ClusteringCMD Start a new CMD shellCMDKEY Manage stored usernames/passwordsCOLOR Change colors of the CMD windowCOMP Compare the contents of two files or sets of filesCOMPACT Compress files or folders on an NTFS partitionCOMPRESS Compress individual files on an NTFS partitionCON2PRT Connect or disconnect a PrinterCONVERT Convert a FAT drive to NTFS.COPY Copy one or more files to another location

    CSCcmd Client-side caching (Offline Files)CSVDE Import or Export Active Directory data

    dDATE Display or set the dateDEFRAG Defragment hard driveDEL Delete one or more filesDELPROF Delete NT user profilesDELTREE Delete a folder and all subfoldersDevCon Device Manager Command Line UtilityDIR Display a list of files and foldersDIRUSE Display disk usageDISKCOMP Compare the contents of two floppy disks

    DISKCOPY Copy the contents of one floppy disk to anotherDISKPART Disk AdministrationDNSSTAT DNS StatisticsDOSKEY Edit command line, recall commands, and create macrosDSACLs Active Directory ACLsDSAdd Add items to active directory (user group computer)DSGet View items in active directory (user group computer)DSQuery Search for items in active directory (user group computer)DSMod Modify items in active directory (user group computer)DSMove Move an Active directory ObjectDSRM Remove items from Active Directory

    eECHO Display message on screen

    ENDLOCAL End localisation of environment changes in a batch fileERASE Delete one or more filesEVENTCREATE Add a message to the Windows event log

  • 8/7/2019 Windows CMD Command

    2/4

    EXIT Quit the current script/routine and set an errorlevelEXPAND Uncompress filesEXTRACT Uncompress CAB files

    fFC Compare two filesFIND Search for a text string in a fileFINDSTR Search for strings in files

    FOR /F Loop command: against a set of filesFOR /F Loop command: against the results of another commandFOR Loop command: all options Files, Directory, ListFORFILES Batch process multiple filesFORMAT Format a diskFREEDISK Check free disk space (in bytes)FSUTIL File and Volume utilitiesFTP File Transfer ProtocolFTYPE Display or modify file types used in file extension associations

    gGLOBAL Display membership of global groupsGOTO Direct a batch program to jump to a labelled line

    GPUPDATE Update Group Policy settingshHELP Online Help

    iiCACLS Change file and folder permissionsIF Conditionally perform a commandIFMEMBER Is the current user in an NT WorkgroupIPCONFIG Configure IP

    kKILL Remove a program from memory

    lLABEL Edit a disk labelLOCAL Display membership of local groups

    LOGEVENT Write text to the NT event viewerLOGMAN Manage Performance MonitorLOGOFF Log a user offLOGTIME Log the date and time in a file

    mMAPISEND Send email from the command lineMBSAcli Baseline Security Analyzer.MEM Display memory usageMD Create new foldersMKLINK Create a symbolic link (linkd)MODE Configure a system deviceMORE Display output, one screen at a timeMOUNTVOL Manage a volume mount pointMOVE Move files from one folder to anotherMOVEUSER Move a user from one domain to anotherMSG Send a messageMSIEXEC Microsoft Windows InstallerMSINFO Windows NT diagnosticsMSTSC Terminal Server Connection (Remote Desktop Protocol)MUNGE Find and Replace text within file(s)MV Copy in-use files

    nNET Manage network resourcesNETDOM Domain ManagerNETSH Configure Network Interfaces, Windows Firewall & Remote access

    NETSVC Command-line Service ControllerNBTSTAT Display networking statistics (NetBIOS over TCP/IP)NETSTAT Display networking statistics (TCP/IP)

  • 8/7/2019 Windows CMD Command

    3/4

    NOW Display the current Date and TimeNSLOOKUP Name server lookupNTBACKUP Backup folders to tapeNTRIGHTS Edit user account rights

    oOPENFILES Query or display open files

    p

    PATH Display or set a search path for executable filesPATHPING Trace route plus network latency and packet lossPAUSE Suspend processing of a batch file and display a messagePERMS Show permissions for a userPERFMON Performance MonitorPING Test a network connectionPOPD Restore the previous value of the current directory saved by PUSHDPORTQRY Display the status of ports and servicesPOWERCFG Configure power settingsPRINT Print a text filePRINTBRM Print queue Backup/RecoveryPRNCNFG Display, configure or rename a printer

    PRNMNGR Add, delete, list printers set the default printerPROMPT Change the command promptPsExec Execute process remotelyPsFile Show files opened remotelyPsGetSid Display the SID of a computer or a userPsInfo List information about a systemPsKill Kill processes by name or process IDPsList List detailed information about processesPsLoggedOn Who's logged on (locally or via resource sharing)PsLogList Event log recordsPsPasswd Change account passwordPsService View and control servicesPsShutdown Shutdown or reboot a computer

    PsSuspend Suspend processesPUSHD Save and then change the current directory

    qQGREP Search file(s) for lines that match a given pattern.

    rRASDIAL Manage RAS connectionsRASPHONE Manage RAS connectionsRECOVER Recover a damaged file from a defective disk.REG Registry: Read, Set, Export, Delete keys and valuesREGEDIT Import or export registry settingsREGSVR32 Register or unregister a DLLREGINI Change Registry PermissionsREM Record comments (remarks) in a batch fileREN Rename a file or filesREPLACE Replace or update one file with anotherRD Delete folder(s)RMTSHARE Share a folder or a printerROBOCOPY Robust File and Folder CopyROUTE Manipulate network routing tablesRUNAS Execute a program under a different user accountRUNDLL32 Run a DLL command (add/remove print connections)

    sSC Service ControlSCHTASKS Schedule a command to run at a specific timeSCLIST Display NT Services

    SET Display, set, or remove environment variablesSETLOCAL Control the visibility of environment variablesSETX Set environment variables permanently

  • 8/7/2019 Windows CMD Command

    4/4

    SFC System File CheckerSHARE List or edit a file share or print shareSHIFT Shift the position of replaceable parameters in a batch fileSHORTCUT Create a windows shortcut (.LNK file)SHOWGRPS List the NT Workgroups a user has joinedSHOWMBRS List the Users who are members of a WorkgroupSHUTDOWN Shutdown the computer

    SLEEP Wait for x secondsSLMGR Software Licensing Management (Vista/2008)SOON Schedule a command to run in the near futureSORT Sort inputSTART Start a program or command in a separate windowSU Switch UserSUBINACL Edit file and folder Permissions, Ownership and DomainSUBST Associate a path with a drive letterSYSTEMINFO List system configuration

    tTASKLIST List running applications and servicesTASKKILL Remove a running process from memory

    TIME Display or set the system time

    TIMEOUT Delay processing of a batch fileTITLE Set the window title for a CMD.EXE sessionTLIST Task list with full pathTOUCH Change file timestampsTRACERT Trace route to a remote hostTREE Graphical display of folder structureTYPE Display the contents of a text fileTypePerf Write performance data to a log file

    uUSRSTAT List domain usernames and last login

    vVER Display version information

    VERIFY Verify that files have been savedVOL Display a disk label

    wWHERE Locate and display files in a directory treeWHOAMI Output the current UserName and domainWINDIFF Compare the contents of two files or sets of filesWINMSD Windows system diagnosticsWINMSDP Windows system diagnostics IIWINRM Windows Remote ManagementWINRS Windows Remote ShellWMIC WMI Commands

    xXCACLS Change file and folder permissionsXCOPY Copy files and folders:: Comment / Remark