A-Z windows commands - LPU TechBuzz

Breaking

Exclusive Amazon offers!

Friday, 28 July 2017

A-Z windows commands

Command Prompt in Microsoft Windows is very powerful tool. It’s commands provide easy and quick way to perform a task. But learning all it’s commands is really tough task itself. So, Here is the list of all CMD commands, arranged alphabetically.
A
ADDUSERSAdd or list users to/from a CSV file
ADmodcmdActive Directory Bulk Modify
ARPAddress Resolution Protocol
ASSOCChange file extension associations•
ASSOCIATOne step file association
ATSchedule a command to run at a specific time
ATTRIBChange file attributes
B
BCDBOOTCreate or repair a system partition
BCDEDITManage Boot Configuration Data
BITSADMINBackground Intelligent Transfer Service
BOOTCFGEdit Windows boot settings
BROWSTATGet domain, browser and PDC info
C
CACLSChange file permissions
CALLCall one batch program from another•
CERTREQRequest certificate from a certification authority
CERTUTILUtility for certification authority (CA) files and services
CDChange Directory – move to a specific Folder•
CHANGEChange Terminal Server Session properties
CHKDSKCheck Disk – check and repair disk problems
CHKNTFSCheck the NTFS file system
CHOICEAccept keyboard input to a batch file
CIPHEREncrypt or Decrypt files/folders
CleanMgrAutomated cleanup of Temp files, recycle bin
CLIPCopy STDIN to the Windows clipboard
CLSClear the screen•
CMDStart a new CMD shell
CMDKEYManage stored usernames/passwords
COLORChange colors of the CMD window•
COMPCompare the contents of two files or sets of files
COMPACTCompress files or folders on an NTFS partition
COMPRESSCompress one or more files
CONVERTConvert a FAT drive to NTFS
COPYCopy one or more files to another location•
CoreinfoShow the mapping between logical & physical processors
CSCcmdClient-side caching (Offline Files)
CSVDEImport or Export Active Directory data
D
DATEDisplay or set the date•
DEFRAGDefragment hard drive
DELDelete one or more files•
DELPROFDelete user profiles
DELTREEDelete a folder and all subfolders
DevConDevice Manager Command Line Utility
DIRDisplay a list of files and folders•
DIRQUOTAFile Server Resource Manager Disk quotas
DIRUSEDisplay disk usage
DISKPARTDisk Administration
DISKSHADOWVolume Shadow Copy Service
DISKUSEShow the space used in folders
DOSKEYEdit command line, recall commands, and create macros
DriverQueryDisplay installed device drivers
DSACLsActive Directory ACLs
DSAddAdd items to active directory (user group computer)
DSGetView items in active directory (user group computer)
DSQuerySearch for items in active directory (user group computer)
DSModModify items in active directory (user group computer)
DSMoveMove an Active directory Object
DSRMRemove items from Active Directory
E
ECHODisplay message on screen•
ENDLOCALEnd localisation of environment changes in a batch file•
ERASEDelete one or more files•
EVENTCREATEAdd a message to the Windows event log
EXITQuit the current script/routine and set an error level•
EXPANDUncompress CAB files
EXTRACTUncompress CAB files
F
FCCompare two files
FINDSearch for a text string in a file
FINDSTRSearch for strings in files
FOR /FLoop command: against a set of files•
FOR /FLoop command: against the results of another command•
FORLoop command: all options Files, Directory, List•
FORFILESBatch process multiple files
FORMATFormat a disk
FREEDISKCheck free disk space
FSUTILFile and Volume utilities
FTPFile Transfer Protocol
FTYPEFile extension file type associations•
G
GETMACDisplay the Media Access Control (MAC) address
GOTODirect a batch program to jump to a labelled line•
GPRESULTDisplay Resultant Set of Policy information
GPUPDATEUpdate Group Policy settings
H
HELPOnline Help
HOSTNAMEDisplay the host name of the computer
I
iCACLSChange file and folder permissions
IEXPRESSCreate a self extracting ZIP file archive
IFConditionally perform a command•
IFMEMBERIs the current user a member of a group
IPCONFIGConfigure IP
INUSEReplace files that are in use by the OS
L
LABELEdit a disk label
LODCTRLoad PerfMon performance counters
LOGMANManage Performance Monitor logs
LOGOFFLog a user off
LOGTIMELog the date and time in a file
M
MAKECABCreate .CAB files
MAPISENDSend email from the command line
MBSAcliBaseline Security Analyzer
MEMDisplay memory usage
MDCreate new folders•
MKLINKCreate a symbolic link (linkd) •
MODEConfigure a system device COM/LPT/CON
MOREDisplay output, one screen at a time
MOUNTVOLManage a volume mount point
MOVEMove files from one folder to another•
MOVEUSERMove a user from one domain to another
MSGSend a message
MSIEXECMicrosoft Windows Installer
MSINFO32System Information
MSTSCTerminal Server Connection (Remote Desktop Protocol)
N
NETManage network resources
NETDOMDomain Manager
NETSHConfigure Network Interfaces, Windows Firewall & Remote access
NBTSTATDisplay networking statistics (NetBIOS over TCP/IP)
NETSTATDisplay networking statistics (TCP/IP)
NLSINFODisplay locale information (reskit).
NLTESTNetwork Location Test (AD)
NOWDisplay the current Date and Time
NSLOOKUPName server lookup
NTBACKUPBackup folders to tape
NTDSUtilActive Directory Domain Services management
NTRIGHTSEdit user account rights
NVSPBINDModify network bindings
O
OPENFILESQuery or display open files
P
PATHDisplay or set a search path for executable files•
PATHPINGTrace route plus network latency and packet loss
PAUSESuspend processing of a batch file and display a message•
PERMSShow permissions for a user
PERFMONPerformance Monitor
PINGTest a network connection
POPDReturn to a previous directory saved by PUSHD•
PORTQRYDisplay the status of ports and services
POWERCFGConfigure power settings
PRINTPrint a text file
PRINTBRMPrint queue Backup/Recovery
PRNCNFGConfigure or rename a printer
PRNMNGRAdd, delete, list printers and printer connections
ProcDumpMonitor an application for CPU spikes
PROMPTChange the command prompt•
PsExecExecute process remotely
PsFileShow files opened remotely
PsGetSidDisplay the SID of a computer or a user
PsInfoList information about a system
PsKillKill processes by name or process ID
PsListList detailed information about processes
PsLoggedOnWho’s logged on (locally or via resource sharing)
PsLogListEvent log records
PsPasswdChange account password
PsPingMeasure network performance
PsServiceView and control services
PsShutdownShutdown or reboot a computer
PsSuspendSuspend processes
PUSHDSave and then change the current directory•
Q
QGREPSearch file(s) for lines that match a given pattern
Query Process / QPROCESSDisplay processes
Query Session / QWinstaDisplay all sessions (TS/Remote Desktop)
Query TermServer /QAppSrvList all servers (TS/Remote Desktop)
Query User / QUSERDisplay user sessions (TS/Remote Desktop)
R
RASDIALManage RAS connections
RASPHONEManage RAS connections
RECOVERRecover a damaged file from a defective disk
REGRegistry: Read, Set, Export, Delete keys and values
REGEDITImport or export registry settings
REGSVR32Register or unregister a DLL
REGINIChange Registry Permissions
REMRecord comments (remarks) in a batch file•
RENRename a file or files•
REPLACEReplace or update one file with another
Reset SessionDelete a Remote Desktop Session
RDDelete folder(s)•
RMTSHAREShare a folder or a printer
ROBOCOPYRobust File and Folder Copy
ROUTEManipulate network routing tables
RUNStart | RUN commands
RUNASExecute a program under a different user account
RUNDLL32Run a DLL command (add/remove print connections)
S
SCService Control
SCHTASKSSchedule a command to run at a specific time
SETDisplay, set, or remove session environment variables•
SETLOCALControl the visibility of environment variables•
SetSPNEdit Service Principal Names
SETXSet environment variables
SFCSystem File Checker
SHAREList or edit a file share or print share
ShellRunAsRun a command under a different user account
SHIFTShift the position of batch file parameters•
SHORTCUTCreate a windows shortcut (.LNK file)
SHUTDOWNShutdown the computer
SLEEPWait for x seconds
SLMGRSoftware Licensing Management (Vista/2008)
SORTSort input
STARTStart a program, command or batch file•
STRINGSSearch for ANSI and UNICODE strings in binary files
SUBINACLEdit file and folder Permissions, Ownership and Domain
SUBSTAssociate a path with a drive letter
SYSMONMonitor and log system activity to the Windows event log
SYSTEMINFOList system configuration
T
TAKEOWNTake ownership of a file
TASKLISTList running applications and services
TASKKILLEnd a running process
TELNETCommunicate with another host using the TELNET protocol
TIMEDisplay or set the system time•
TIMEOUTDelay processing of a batch file
TITLESet the window title for a CMD.EXE session•
TLISTTask list with full path
TOUCHChange file timestamps
TRACERTTrace route to a remote host
TREEGraphical display of folder structure
TSDISCONDisconnect a Remote Desktop Session
TSKILLEnd a running process
TSSHUTDNRemotely shut down or reboot a terminal server
TYPEDisplay the contents of a text file•
TypePerfWrite performance data to a log file
TZUTILTime Zone Utility
V
VERDisplay version information•
VERIFYVerify that files have been saved•
VOLDisplay a disk label•
W
W32TMTime Service
WAITFORWait for or send a signal
WEVTUTILClear event logs, enable/disable/query logs
WHERELocate and display files in a directory tree
WHOAMIOutput the current UserName and domain
WINDIFFCompare the contents of two files or sets of files
WINRMWindows Remote Management
WINRSWindows Remote Shell
WMICWMI Commands
WUAUCLTWindows Update
X
XCACLSChange file and folder permissions
XCOPYCopy files and folders
::Comment / Remark•
The commands that are marked with • , are Internal commands i.e. these can be run in CMD window only. All other commands are External commands, i. e. can be run in CMD shell, PowerShell, or directly from START-RUN.

No comments:

Post a Comment