Windows CMD Commands

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 1

SET – Windows CMD Command

Display, set, or remove CMD environment variables. Changes made with SET will remain only for the duration of the current CMD session. Variable names are not case sensitive but the contents can be. It...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 2

SCHTASKS – Windows CMD Command

Create / edit a Scheduled Job/Task. The job can be created on the local or a remote computer. Notes For MONTHLY schedules give the DAY as a number 1 – 31 (default=1) To prompt...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 4

SC.exe – Windows CMD Command

Service Control – Create, Start, Stop, Query or Delete any Windows SERVICE. The command options for SC are case sensitive. Syntax SC [\\server] [command] [service_name] [Options] Key server : The machine where the service is running service_name...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 2

RunDLL32.exe – Windows CMD Command

Run a 32 bit DLL function.Rundll32 is available on all version of Windows from Windows 95 onwards, but only runs in 32 bit mode. Syntax RUNDLL32.EXE dll_name,EntryPoint [optional_arguments] Key dll_name A full path to the...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 1

RUNAS – Windows CMD Command

Execute a program under a different user account (non-elevated). Syntax RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ] /user:UserName program RUNAS [ [/noprofile | /profile] [/env] [/savecred] ] /smartcard [/user:UserName] program Display...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 3

Start | Run – Windows CMD Command

Description Run Command Accessibility Options utilmanorcontrol access.cpl Add Hardware Wizard hdwwiz Programs and Features(Add New Programs)(Add Remove Windows Components)(Set Program Access & Defaults ) appwiz.cplcontrol appwiz.cpl,,1control appwiz.cpl,,2control appwiz.cpl,,3 Administrative Tools control admintools Advanced User...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 2

ROUTE.exe – Windows CMD Command

Manipulate network routing tables. Route packets of network traffic from one subnet to another by modifying the route table. Syntax Display route details: ROUTE [-f] PRINT [destination_host] [MASK subnet_mask_value] [gateway] [METRIC metric] [IF interface_no.]...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 1

ROBOCOPY.exe – Windows CMD Command

Robust File and Folder Copy.By default Robocopy will only copy a file if the source and destination have different time stamps or different file sizes. Syntax ROBOCOPY Source_folder Destination_folder [files_to_copy] [options] Key file(s)_to_copy :...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 1

RMTSHARE.exe – Windows CMD Command

Manage File and Printer shares, local or on a remote server.Although missing from recent Resource kits, the old version appears to work fine under Windows XP/2003. Syntax Display all shares RMTSHARE \\server Display details...

A-Z-List-Of-Windows-CMD-Commands-Also-Included-CMD-Commands 2

RESET SESSION / RWinSta – Windows CMD Command

Reset (delete) a Remote Desktop Session. Syntax RESET SESSION {SessionName | SessionID} [/server:ServerName] [/v] Key SessionName The name of the session that you want to reset. To determine the name, use query session SessionID...