Switching back and forth from Unix to Windows, I sometimes type the wrong command - like ls instead of dir...
This only seems to occur when I am in a Windows command box, i.e. I'll type ls while in Windows, but I don't type dir while in Unix.
Anyway, I found a solution...
I downloaded and installed this wonderful set of utilities from: http://www.weihenstephan.de/~syring/win32/UnxUtils.html. I also downloaded VIM from the link near the bottom of the page, so now I have a decent command line text editor too.
And I added the location of the utilities to my Windows path environment variable.
For those of you, like me, who have never had to change an environment variable in Windows 2000 - which is in my humble opinion not very intuitive, here's how you do it.
Open Control Panel
Click the System icon and the window pops up
Go to the Advanced pane
Click the Environment Variables button
There are two separated windows showing two sets of environment variables. In the lower window, labeled "system variables" scroll down and select "path," then click the "edit" button to edit the "PATH" variable.
Click the "ok" button when done
In Windows 95/98/ME, edit the path line your c:\autoexec.bat using notepad, and then reboot your computer.
Digg It!
Bookmark it!