PDA

View Full Version : alias in windows?



attgig
03-15-2006, 11:54 AM
so, a useful trick i always use in my unix environment is creating aliases in the .tcshrc file (yeah, i use tcshell)

anyone know if i can do something similar with command prompt in windows?

brainsmile
03-15-2006, 12:41 PM
what's the purpose of the alias?

Jcranmer
03-15-2006, 12:52 PM
so, a useful trick i always use in my unix environment is creating aliases in the .tcshrc file (yeah, i use tcshell)

anyone know if i can do something similar with command prompt in windows?

I'm almost sure there is another way, but just create a .bat file and put it in your path. i.e. If you type ls instead of dir all the time, create a .bat file with the command dir in it and save it in your path as ls.bat