DOS = Disk Operating System
Cmd = Command-line prompt for Windows
DOS = Command.com (Windows 95/98/Me)
CMD = Cmd.exe (Windows NT/2000/XP)
- PowerShell ...
- DOS / CMD / RUN
- xcopy.exe will destroy long filenames
- xcopy32.exe c:\stuff\ j:\stuff.bak\ /h/i/c/k/e/r/y
- h = hidden & system files
- i = assume it is a folder
- c = continue even if error
- k = copy attributes
- e = copy empty folders
- r = over-write read-only files
- y = over-write without prompting
- whoami /?
- cmd > whoami /all /fo list
- Elevated Command Prompt
- Start > cmd > Ctrl-Alt-Enter
- R-click desktop > New > Shortcut > cmd
R-click on new shortcut > Properties > Shortcut > Advanced > Run as Administrator
- MS-DOS help and commands
- EasyDOS Command Index
- FDISK.COM fdisk info
- How to Create Default PIF for MS-DOS-Based Programs (Q131877)
- General Tips for Using MS-DOS Mode (Q134400)
- Out of Environment Space Error Message in MS-DOS Programs (Q230205)
- Rob van der Woude's Scripting Pages: Batch Files, PowerShell, Rexx, KiXtart, Perl, VBScript, HTA
- Batch files for DOS, OS/2, Windows 95/98, NT 4, 2000 and XP
- Troubleshooting MS-DOS-Based Programs in Windows NT 4.0 (Q165214)
- Real Mode = virtual 8086 mode
- Standard Mode = requires 80286 and 1MB RAM
- 386 Enhanced Mode = native mode = 32 bit protected mode \
- Virtual Memory = lets the system act as if it had more memory than it really does by swapping to disk. Ity allows multiple applications to run, each in its own "virtual machine".
- Windows 10 run commands you should know (but probably forgot) - TechRepublic
- +V = Run (command-line):
- \ = Windows 10 drive (C:\)
- . = Home folder of the current user
- .. = Users folder
- control = Control Panel
- msconfig = System Configuration app
- appwiz.cpl = Programs and Features
- cleanmgr = Disk Cleanup utility
- resmon = Resource Monitor
- calc= Calculator
- main.cpl = Adjust your mouse settings
- mstsc = Remote Desktop
- msinfo32 = System Information
- Five Windows command prompt tips every IT pro should know | TR Dojo | TechRepublic.com
- TR Dojo: Five Windows command-prompt tips every IT pro should know
Bill Detwiler: The Windows GUI may be easy for the average user to navigate, but power users and IT pros alike still recognize the usefulness of the command-prompt.
- Arrow keys
You can cycle through a list of all the commands that you've entered within a particular session using the up and down arrows on your keyboard.
Access the Command-prompt window's context menu by right-clicking just about anywhere on the window's title bar or left-clicking the small command-prompt icon in the top, left corner.
Properties > Options > Command History > Buffer Size setting > change the number of commands saved in the buffer.
- DOSKey /history
A full listing of all the commands stored in the buffer during the current session.
- cd do*
Will open the C:\Documents and Settings directory.
- cd +Tab
Will cycle through the current directory's sub-directories -- inserting them after the cd command but not switching to them.
- cd +Tab
Pressing Tab after entering cd and a character, or series of characters, will automatically insert the first directory (alphabetically) that begins with that character.
- F1 retypes the previous command one character at a time
F2 brings up a dialog and asks “Enter the char to copy up to:”
F3 retypes the last command in full
F4 brings up a dialog and asks “Enter char to delete up to:”
F5 as for F3
F6 Print EOF character (Ctrl+Z)
F7 brings up a dialog of all the recent command history
F8 brings up each of the most recent commands, one at a time
F9 brings up a dialog and asks “Enter command number:”