Sub-DirectoriesCommand Line HelpConsole AlternativesDOS Reference DownloadsRecovery Console Cmds |
DOS Command ReferenceScriptsMisc DOS.Batch ProgramsCmd Line Switches for ProgramsRecovery Console Cmds |
DOS⁄Batch File ReferenceEmergency DOS CommandsHandy DOS Commands |
Console Tips
The \ is Always Used for Dir Navigation and ⁄ Always Used for Parameters
mode [width],[height] mode 120,40
color [attr] - 2 Hex #'s Background and Foreground of console
Try color ⁄? or try this - Use "color 0a" - East to remember!
tree [drive:][path] [⁄f] [⁄a]
⁄f = File Listing as well, ⁄a= Output to text file
ex: tree ⁄a d:\users\s184 > d:\temp\mydrive.txt
rd [⁄s] [drive:]path ⁄s = Deletes Non-Empty folders,
prompt $m$p$g - Prompt alone resets back to default - (MilesPerGal)
help = [any command] ⁄? ex: help del ⁄?
> Redirect output to file > ex: syteminfo > c:\mycpcinfo.txt
>> Append output to file >> ex: syteminfo >> c:\mycpcinfo.txt
Up Arrow ⁄ Down Arrow = cycle through the previous commands
Right Arrow = Enters, char by char, the last cmd you executed.
TAB = Command completion like Linux
&& - Run Mult Commands - ex: ipconfig && netstat
Pipeline | = [some command] | notepad = Send output of cmd to notepad
Shift key held down - right-clicking a folder = "Open Cmd Prompt Here"
Alt+Enter = Switch to⁄from full screen mode
Insert = Toggle Insert⁄Overwrite
Ctrl-C = Abort current command⁄typing
Enable the Built-in Master Admin Acct = net user administrator ⁄active:yes
Physical Memory = systeminfo | findstr ⁄C:”Total Physical Memory”
Physical Memory = wmic MEMORYCHIP getBankLabel,DeviceLocator,Capacity,Tag
System Type = systeminfo | findstr ⁄C:”System type”
OS Install Date = systeminfo | findstr ⁄C:”Install Date”
Last Boot Time = systeminfo | findstr ⁄C:"System Boot Time"
Find BIOS Info = systeminfo | findstr ⁄C:BIOS
Find BIOS Manufacturer = wmic bios get manufacturer, smbiosbiosversion
Mobo Serial Number = wmic baseboard get serialnumber
Model = wmic computersystem get model,name,manufacturer,systemtype
F1: Pastes the last executed command (character by character)
F2: Pastes the last executed command (up to the entered character)
F3: Pastes the last executed command
F4: Deletes current prompt text up to the entered character
F5: Pastes recently executed commands (does not cycle)
F6: Pastes ^Z to the prompt - Signal end-of-file
F7: Displays a selectable list of previously executed commands
F8: Pastes recently executed commands (cycles)
F9: Asks for the number of the command from the F7 list to paste
color [attr] - 2 Hex #'s Background and Foreground of console
Try color ⁄? or try this - Use "color 0a" - East to remember!
tree [drive:][path] [⁄f] [⁄a]
⁄f = File Listing as well, ⁄a= Output to text file
ex: tree ⁄a d:\users\s184 > d:\temp\mydrive.txt
rd [⁄s] [drive:]path ⁄s = Deletes Non-Empty folders,
prompt $m$p$g - Prompt alone resets back to default - (MilesPerGal)
help = [any command] ⁄? ex: help del ⁄?
> Redirect output to file > ex: syteminfo > c:\mycpcinfo.txt
>> Append output to file >> ex: syteminfo >> c:\mycpcinfo.txt
Up Arrow ⁄ Down Arrow = cycle through the previous commands
Right Arrow = Enters, char by char, the last cmd you executed.
TAB = Command completion like Linux
&& - Run Mult Commands - ex: ipconfig && netstat
Pipeline | = [some command] | notepad = Send output of cmd to notepad
Shift key held down - right-clicking a folder = "Open Cmd Prompt Here"
Alt+Enter = Switch to⁄from full screen mode
Insert = Toggle Insert⁄Overwrite
Ctrl-C = Abort current command⁄typing
Enable the Built-in Master Admin Acct = net user administrator ⁄active:yes
Physical Memory = systeminfo | findstr ⁄C:”Total Physical Memory”
Physical Memory = wmic MEMORYCHIP getBankLabel,DeviceLocator,Capacity,Tag
System Type = systeminfo | findstr ⁄C:”System type”
OS Install Date = systeminfo | findstr ⁄C:”Install Date”
Last Boot Time = systeminfo | findstr ⁄C:"System Boot Time"
Find BIOS Info = systeminfo | findstr ⁄C:BIOS
Find BIOS Manufacturer = wmic bios get manufacturer, smbiosbiosversion
Mobo Serial Number = wmic baseboard get serialnumber
Model = wmic computersystem get model,name,manufacturer,systemtype
F1: Pastes the last executed command (character by character)
F2: Pastes the last executed command (up to the entered character)
F3: Pastes the last executed command
F4: Deletes current prompt text up to the entered character
F5: Pastes recently executed commands (does not cycle)
F6: Pastes ^Z to the prompt - Signal end-of-file
F7: Displays a selectable list of previously executed commands
F8: Pastes recently executed commands (cycles)
F9: Asks for the number of the command from the F7 list to paste
appwiz.cpl - Programs and Features
bthprops.cpl - Blue Tooth Devices
calc – Calculator
cleanmgr – Disk Clean Manager
compmgmt.msc - Computer Mgmt Console
computerDefaults - Set Program Access Defaults
control - Control Panel
desk.cpl - Display Settings Configuration Window
devmgmt.msc - Device Management Console
diskmgmt.msc - Disk Management Console
eventvwr.msc - Event Viewer
firewall.cpl - Windows Firewall Configuration
fsmgmt.msc - Shared Folders Management
gpedit.msc - Group Policy Editor
iexplore - Internet Explorer
inetcpl.cpl - Internet Properties
lusrmgr.msc - Local Users⁄Groups Mgmnt
main.cpl - Mouse Properties Window
mobsync - Sync Center
mstsc - Remote Desktop Client
msconfig - System Configuration
msinfo32 - System Information
mspaint - MS Paint Appliation
ncpa.cpl – Network Connections
notepad - Notepad Text Editor
optionalfeatures - Windows Features
perfmon.msc - Performance Monitor
printmanagement.msc - Printer Management Console
rsop.msc - Shows Resultant Set of Group Policies Applied
secpol.msc - Local Security Policy Management Console
services.msc- Services Management Console
sysdm.cpl - System Properties
taskmgr -Task Manager
taskschd.msc -Task Scheduler
timedate.cpl - Set System Time and Date.
userinit - User Libraries(Documents, Pictures etc)
wf.msc - Windows Firewall Management Console
winver - Windows Version Information
WmiMgmt.msc - WMI Management Console
write - Wordpad Application
wscui.cpl - Windows Security Center
bthprops.cpl - Blue Tooth Devices
calc – Calculator
cleanmgr – Disk Clean Manager
compmgmt.msc - Computer Mgmt Console
computerDefaults - Set Program Access Defaults
control - Control Panel
desk.cpl - Display Settings Configuration Window
devmgmt.msc - Device Management Console
diskmgmt.msc - Disk Management Console
eventvwr.msc - Event Viewer
firewall.cpl - Windows Firewall Configuration
fsmgmt.msc - Shared Folders Management
gpedit.msc - Group Policy Editor
iexplore - Internet Explorer
inetcpl.cpl - Internet Properties
lusrmgr.msc - Local Users⁄Groups Mgmnt
main.cpl - Mouse Properties Window
mobsync - Sync Center
mstsc - Remote Desktop Client
msconfig - System Configuration
msinfo32 - System Information
mspaint - MS Paint Appliation
ncpa.cpl – Network Connections
notepad - Notepad Text Editor
optionalfeatures - Windows Features
perfmon.msc - Performance Monitor
printmanagement.msc - Printer Management Console
rsop.msc - Shows Resultant Set of Group Policies Applied
secpol.msc - Local Security Policy Management Console
services.msc- Services Management Console
sysdm.cpl - System Properties
taskmgr -Task Manager
taskschd.msc -Task Scheduler
timedate.cpl - Set System Time and Date.
userinit - User Libraries(Documents, Pictures etc)
wf.msc - Windows Firewall Management Console
winver - Windows Version Information
WmiMgmt.msc - WMI Management Console
write - Wordpad Application
wscui.cpl - Windows Security Center