NOTE: DO NOT edit any registry or boot files unless you know what your doing.
Keys And their functions in command prompt.
F1 : Repeats the letters of the last command line, one by one
F2 : Displays a dialog asking user to "enter the char to copy up to" of the last command line
F3 : Repeats the last command line (Similar to DOSKEY)
F4 : Displays a dialog asking user to "enter the char to delete up to" of the last command line
F5 : Goes back one command line
F6 : Enters the traditional CTRL+Z (^z) (End-Of-File)
F7 : Displays a menu with the command line history (Similar to DOSKEY)
F8 : Cycles back through previous command lines (beginning with most recent).
F9 : Displays a dialog asking user to enter a command number (0 is for first command line)
Unix style file- and directory- name completion
Edit the registry and add/update these (REG_DWORD):
[HKEY_CURRENT_USER \Software \Microsoft \Command Processor]
CompletionChar= 9
PathCompletionChar= 9
BOOT Menu
Edit CONFIG.SYS and try it out
[MENU]
MENUITEM=DOS, DOS with CD-ROM
MENUITEM=WIN, Windows
<By using SUBMENU you will creating an extra menu(TEST)>
SUBMENU=TEST, Testing
<Using MENUDEAFAULT makes it possible to choose a certain>
<item(WIN) and if it's set also select that item after a certain>
<time(20 secs)>
MENUDEFAULT=WIN, 20
<Here is the SUBMENU it can also include other SUBMENUs>
[TEST]
MENUITEM=TEST1, Testing 1
Avoid F5 & F8 to work at startupt
Edit CONFIG.SYS and insert line at the top
SWITCHES=/F
Make a diskcopy with only one floppy disk drive
In command prompt, it will ask for a disk in drive B: , insert the disk which the copy should be placed.
DISKCOPY A: B:
System Generated Variables
%DATE%
%TIME%
%SYSTEMROOT%
%COMPUTERNAME%
%USERNAME%
%USERDOMAIN%
Specify what commands to be run when opening a command prompt
When opening a command prompt it checks the following STRING values in the registry to see if any commands should be executed :
[HKEY_CURRENT_USER \SOFTWARE \Microsoft \Command Processor]
[HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Command Processor]
Autorun = "prompt [%computername%]$S$P$G && COLOR 0A"
Note the commands above will change the command prompt and color.
Note to specify several commands seperate them with &&, or use a batch file.
Note the cmd has a switch to disable the execution of the Autorun :
cmd /d
------------------------------------------------------------
SOURCE/MORE/LINKS(http://snakefoot.fateback.com/tweak/winnt/prompt.html)
