I’ve been using the console a lot more on my windows machine here at blenderbox, and I find myself typing in the unix command ‘ls’ to display the directory listing over and over. Each time I want to display the directory, I end up having to type in two commands. I finally decided to do something about this today and created a batch file for ls to run the dir command. To do this,
- Open a new text file, type:
dir - Save as
ls.batinC:\Windows\System32\
Now whenever I type ls by mistake, it runs the dir command, giving me the directory listing. Sweet yea?