Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Done Have WHICH indicate a SYMLINK

Aug
1,933
71
The following shows what would be executed on my system if I typed list;

Code:
e:\utils>which /a list
list is an alias : e:\utils\msdos.exe -e e:\dosbox\utils\list.com %@sfn[%1]
list is an internal command
list is an executable extension : start /pgm list.exe
list is an external : list.exe

On my system, I have LIST.EXE as a SYMLINK;

Code:
e:\utils>dir list.exe

 Volume in drive E is New Volume   Serial number is 2c1e:6e61
 Directory of  E:\Utils\list.exe

2021-07-26   8:20     <SYMLINK>    list.exe [E:\Windows Kits\10\Debuggers\x64\list.exe]
                   0 bytes in 1 file and 0 dirs

It would be helpful if, when using WHICH, it noted that a command is a SYMLINK.

Joe
 
Back
Top