Friday 5 July 2013

windows equivalent of linux alias - windows tip

When using command line anywhere in windows


doskey cdapp=cd c:\somedir\myapp\xyz

ie: dokey shortcutname=any command you want

then when you type shortcutname, the command will execute

to list all your shortcuts (macros, aliases, snippets) whatever

type doskey /macros

to delete one type
doskey shortcutname=

ie put the shortcut name followed by =


No comments:

Post a Comment