DOS Shortcuts

  • Thread starter Thread starter David Angelovich
  • Start date Start date
D

David Angelovich

Hi

I'm a Unix/Windows user and I'm constantly entering the wrong commands into
the command prompt in XP....
How can I make "ls" do the same thing as "dir" in command prompt windows?

- David Angelovich
 
If you can get the Windows 2000 Server kit you'll find a win32 port of ls. A posix ls has been distributed with all versions of NT except XP. With the removal of posix in the next version (XP) MS ported the posix tools. Note both are on the CD - 1 posix and one Win32.

Plus there is another port in the Win98 resource kit as well (as 98 has never done posix)
ftp://ftp.microsoft.com/services/technet/samples/ps/win98/reskit/FILE/
 
Hi

I'm a Unix/Windows user and I'm constantly entering the wrong commands into
the command prompt in XP....
How can I make "ls" do the same thing as "dir" in command prompt windows?

- David Angelovich

You can put a batch file somewhere in the search path and call it
"ls,bat" and in it one line: dir %1 %2 %3 (I don't even think those
are necessary).

Also, you could use Doskey, which stores macros into memory.


---Atreju---
 
David Angelovich said:
Hi

I'm a Unix/Windows user and I'm constantly entering the wrong commands into
the command prompt in XP....
How can I make "ls" do the same thing as "dir" in command prompt windows?

- David Angelovich

Does Unix recognize the 'dir' command and if so, does it do the same thing
as in Windows?..
 
Back
Top