Monday, June 25, 2012

Aliasing commands in windows

You can do so using Doskey command. This used to be standalone external command in earlier versions of Windows, but since the NT based version  have started coming, this has been built into cmd.exe So, this is how you go about it:
C:\Windows\System32>doskey home=cd C:\users\mincho\desktop
C:\Windows\System32>
C:\Windows\System32>home
C:\Users\mincho\Desktop>_

1 comment: