Recently, I wanted to create shortcuts for git commands. I can have written aliases inside the git config file, but then also, I had to type git explicitly. So, I just searched the internet and came across this link: http://superuser.com/questions/49170/create-an-alias-in-windows-xp.
And I just wrote few quick aliases using the doskey in a file called 'a.cmd'. Now I just type 'a' and press TAB and ENTER in the command prompt and set aliases quickly. I don't want it to be automatic, so I just manually run the a.cmd whenever needed. Here is how my a.cmd looks like initially:
doskey st=git status
doskey log=git log
doskey +=git add $1
doskey co=git commit
doskey ..=cd ..
doskey bin=cd "D:\Project\Release\"
doskey src=cd "D:\Project\"
doskey log=git log
doskey +=git add $1
doskey co=git commit
doskey ..=cd ..
doskey bin=cd "D:\Project\Release\"
doskey src=cd "D:\Project\"
diabetes cure