5
ADDUSERS Add or list users to/from a CSV file ARP Address Resolution Protocol ~ ASSOC Change file extension associations ASSOCIAT One step file association AT Schedule a command to run at a later time ATTRIB Change file attributes b BOOTCFG Edit Windows boot settings BROWSTAT Get domain, browser and PDC info c CACLS Change file permissions ~ CALL Call one batch program from another ~ CD Change Directory - move to a specific Folder CHANGE Change Terminal Server Session properties CHKDSK Check Disk - check and repair disk problems CHKNTFS Check the NTFS file system CHOICE Accept keyboard input to a batch file CIPHER Encrypt or Decrypt files/folders CleanMgr Automated cleanup of Temp files, recycle bin CLEARMEM Clear memory leaks CLIP Copy STDIN to the Windows clipboard. ~ CLS Clear the screen CLUSTER Windows Clustering CMD Start a new CMD shell ~ COLOR Change colors of the CMD window COMP 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 Connect or disconnect a Printer CONVERT 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 d ~ DATE Display or set the date Dcomcnfg DCOM Configuration Utility DEFRAG Defragment hard drive ~ DEL Delete one or more files DELPROF Delete NT user profiles DELTREE Delete a folder and all subfolders DevCon Device Manager Command Line Utility ~ DIR Display a list of files and folders DIRUSE Display disk usage DISKCOMP Compare the contents of two floppy disks DISKCOPY Copy the contents of one floppy disk to another DISKPART Disk Administration DNSSTAT DNS Statistics DOSKEY Edit command line, recall commands, and create macros DSADD Add user (computer, group..) to active directory

CMD Command

Embed Size (px)

DESCRIPTION

 

Citation preview

  • 1. ADDUSERS Add or list users to/from a CSV fileARPAddress Resolution Protocol~ ASSOCChange file extension associationsASSOCIAT One step file associationAT Schedule a command to run at a later timeATTRIB Change file attributes bBOOTCFG Edit Windows boot settingsBROWSTAT Get domain, browser and PDC info cCACLSChange file permissions~ CALL Call one batch program from another~ CD Change Directory - move to a specific FolderCHANGE Change Terminal Server Session propertiesCHKDSK Check Disk - check and repair disk problemsCHKNTFSCheck the NTFS file systemCHOICE Accept keyboard input to a batch fileCIPHER Encrypt or Decrypt files/foldersCleanMgr Automated cleanup of Temp files, recycle binCLEARMEM Clear memory leaksCLIP Copy STDIN to the Windows clipboard.~ CLSClear the screenCLUSTERWindows ClusteringCMDStart a new CMD shell~ COLORChange colors of the CMD windowCOMP Compare the contents of two files or sets of filesCOMPACTCompress files or folders on an NTFS partitionCOMPRESS Compress individual files on an NTFS partitionCON2PRTConnect or disconnect a PrinterCONVERTConvert a FAT drive to NTFS.~ COPY Copy one or more files to another locationCSCcmd Client-side caching (Offline Files)CSVDEImport or Export Active Directory data d~ DATE Display or set the dateDcomcnfg DCOM Configuration UtilityDEFRAG Defragment hard drive~ DELDelete one or more filesDELPROFDelete NT user profilesDELTREEDelete a folder and all subfoldersDevCon Device Manager Command Line Utility~ DIRDisplay a list of files and foldersDIRUSE Display disk usageDISKCOMP Compare the contents of two floppy disksDISKCOPY Copy the contents of one floppy disk to anotherDISKPART Disk AdministrationDNSSTATDNS StatisticsDOSKEY Edit command line, recall commands, and create macrosDSADDAdd user (computer, group..) to active directoryDSQUERYList items in active directoryDSMODModify user (computer, group..) in active directory e~ ECHO Display message on screen~ ENDLOCAL End localisation of environment changes in a batch file~ ERASEDelete one or more files~ EXIT Quit the current script/routine and set an errorlevel.EXPAND Uncompress filesEXTRACTUncompress CAB files f

2. FC Compare two filesFIND Search for a text string in a fileFINDSTRSearch for strings in files~ FOR /F Loop command: against a set of files~ FOR /F Loop command: against the results of another command~ FORLoop command: all options Files, Directory, ListFORFILES Batch process multiple filesFORMAT Format a diskFREEDISK Check free disk space (in bytes)FSUTIL File and Volume utilitiesFTPFile Transfer Protocol~ FTYPEDisplay or modify file types used in file extension associations gGLOBAL Display membership of global groups~ GOTO Direct a batch program to jump to a labelled line hHELP Online Help i~ IF Conditionally perform a commandIFMEMBER Is the current user in an NT WorkgroupIPCONFIG Configure IP kKILL Remove a program from memory lLABELEdit a disk labelLOCALDisplay membership of local groupsLOGEVENT Write text to the NT event viewer.LOGOFF Log a user offLOGTIMELog the date and time in a file mMAPISEND Send email from the command lineMBSAcliBaseline Security Analyzer.MEMDisplay memory usage~ MD Create new foldersMKLINK Create a symbolic link (linkd)MODE Configure a system deviceMORE Display output, one screen at a timeMOUNTVOL Manage a volume mount point~ MOVE Move files from one folder to anotherMOVEUSER Move a user from one domain to anotherMSGSend a messageMSIEXECMicrosoft Windows InstallerMSINFO Windows NT diagnosticsMSTSCTerminal Server Connection (Remote Desktop Protocol)MUNGEFind and Replace text within file(s)MV Copy in-use files nNETManage network resourcesNETDOM Domain ManagerNETSHConfigure network protocolsNETSVC Command-line Service ControllerNBTSTATDisplay networking statistics (NetBIOS over TCP/IP)NETSTATDisplay networking statistics (TCP/IP)NOWDisplay the current Date and TimeNSLOOKUP Name server lookupNTBACKUP Backup folders to tapeNTRIGHTS Edit user account rights p~ PATH Display or set a search path for executable files 3. PATHPING Trace route plus network latency and packet loss~ PAUSESuspend processing of a batch file and display a messagePERMSShow permissions for a userPERFMON Performance MonitorPING Test a network connection~ POPD Restore the previous value of the current directory saved by PUSHDPORTQRY Display the status of ports and servicesPRINTPrint a text filePRNCNFG Display, configure or rename a printerPRNMNGR Add, delete, list printers set the default printer~ PROMPT 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 computerPsSuspend Suspend processes~ PUSHDSave and then change the current directory q QGREP Search file(s) for lines that match a given pattern. rRASDIALManage RAS connectionsRASPHONE Manage RAS connectionsRECOVERRecover a damaged file from a defective disk.REGRegistry: Read, Set, Export, Delete keys and valuesREGEDITImport or export registry settingsREGSVR32 Register or unregister a DLLREGINI Change Registry Permissions~ REMRecord comments (remarks) in a batch file~ RENRename a file or files.REPLACEReplace or update one file with another~ RD Delete folder(s)RMTSHARE Share a folder or a printerROBOCOPY Robust File and Folder CopyROUTEManipulate network routing tablesRUNASExecute a program under a different user accountRUNDLL32 Run a DLL command (add/remove print connections) sSC Service ControlSCHTASKS Create or Edit Scheduled TasksSCLIST Display NT Services~ SETDisplay, set, or remove environment variables~ SETLOCAL Control the visibility of environment variablesSETX Set environment variables permanentlySHAREList or edit a file share or print share~ SHIFTShift 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 computerSLEEPWait for x secondsSOON Schedule a command to run in the near futureSORT Sort input 4. ~ STARTStart a program or command in a separate window.SU Switch UserSUBINACL Edit file and folder Permissions, Ownership and DomainSUBSTAssociate 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 timeTIMEOUTDelay processing of a batch file~ TITLESet the window title for a CMD.EXE sessionTLISTTask list with full pathTOUCHChange file timestampsTRACERTTrace route to a remote hostTREE Graphical display of folder structure~ TYPE Display the contents of a text file u USRSTAT List domain usernames and last login v~ VERDisplay version information~ VERIFY Verify that files have been saved~ VOLDisplay a disk label w WHERE Locate and display files in a directory tree WHOAMIOutput the current UserName and domain WINDIFF Compare the contents of two files or sets of files WINMSDWindows system diagnostics WINMSDP Windows system diagnostics II WMICWMI Commands x XCACLSChange file permissions XCOPY Copy files and folders