[Tutor] How to get Win XP command prompt to open at C:\Python23> (original) (raw)

Alan Gauld alan.gauld at blueyonder.co.uk
Sat Jul 24 21:50:06 CEST 2004


Make sure to use quick edit mode, insert mode, and at least a few hundred rows in the screen buffer. That certainly makes CMD.EXE less painful...

And set up DOSKEY to run by modifying

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun

In Regedit

BTW, is autocomple on TAB on by default in XP, or do you need to tweak the registry for that?

Its a registry hack under:

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\CompletionChar

for File completion and

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\PathCompletionChar

For Folder completion

You have to specify the decimal or hex ASCII value of the key

27 for escape, 9 for tab...

And you need to modify the shortcut to start CMD with

CMD /F:ON

Its all in the help you get when you type CMD /? at the DOS prompt.

Alan G Author of the Learn to Program web tutor http://www.freenetpages.co.uk/hp/alan.gauld



More information about the Tutor mailing list