Originally posted by: dullard
The easiest way is to go to any folder in your path and put this file there:
ls.bat
Inside the file put these three simple letters:
dir
That'll do the most simple directory listing for you. You could of course make this much more complicated if you want to (for different ls and dir options). Of course the better solution is to NOT do this and actually learn to be proficient at both.
Originally posted by: ucGrad
Originally posted by: dullard
The easiest way is to go to any folder in your path and put this file there:
ls.bat
Inside the file put these three simple letters:
dir
That'll do the most simple directory listing for you. You could of course make this much more complicated if you want to (for different ls and dir options). Of course the better solution is to NOT do this and actually learn to be proficient at both.
Thanks for the simple solution. I am pretty proficient at both. I grew up with MS-DOS then used Unix in college. 'ls' is just more habitual to me now that I just type it to list the directory without thinking 'what operating system am i on?'. 80% of the time I'm on a linux machine so there's no problem. the other 20% i'm in the the Windows command window.