Setting LS to work like dir/w

DeadSeaSquirrels

Senior member
Jul 30, 2001
515
0
0
I am working on RH 8.0 and my windows machine all the time (separate machines, not dual boot). and I hate having to swicth between 'ls' and 'dir' I was wondering if there was a way to create an alias in windows so that 'ls' is substituted with 'dir /w'

thanks for the info, it'll save my sanity.
 

PrincessGuard

Golden Member
Feb 5, 2001
1,435
0
0
Make a batch file and put it in a folder in your path (e.g. c:\windows).

---ls.bat---
dir /w %1 %2 %3 %4
---end ls.bat---

Or, you can get a Win32 fileutils port.
 

DeadSeaSquirrels

Senior member
Jul 30, 2001
515
0
0
batch sounds better...

is there something in windows 2000, like in the environment variables tab that lets me create an alias?