Wednesday, December 02, 2009

Using doskey macrofile to optimize work within the Command Prompt

posted by Lars Hundebøl # 01:59 PM

The following is helpfull little tip to create shortcuts to commonly used applications when working in the command prompt.

1. Create a new doskey macrofile (e.g. notepad c:\doskey)
2. Edit doskey macrofile to include all your shortcuts:

sub="C:\Program Files\Sublime Text\sublimetext.exe" $*
ie="C:\Program Files\Internet Explorer\iexplore.exe"

3. Change cmd.exe shortcut to include the following doskey command:

%SystemRoot%\system32\cmd.exe /k doskey /macrofile=c:\doskey


Relevant doskey links:

Loading doskey automatically with CMD
DOSKEY – set shortcuts for DOS commands

Gravatar of propellerhead

propellerhead

 
By the way, the sublimetext.exe reference is, in my opinion, one of the best text editors for Windows out there.
 

Leave a comment

Your name

Your e-mail (will not be displayed)†

†Your e-mail will never be displayed and only used on the site to display your gravatar (if you got one), and as a means to potentially get back to you, if I have any feedback or questions regarding your comment.

all posts