See screenshot at http://img199.imageshack.us/img199/8641/201007161354.png
The crash occurs in msvcrt.dll, so I wonder whether there is a compaibility problem. According to the docs, the utils are only dependent on that DLL.
I tried a few other commands (less.exe, uname.exe), but at least those which I tried, work fine.
had same problem here under Windows 2003.
I downloaded the source, recompiled with MinGW gcc 4.5.0, problem gone.
I have no explanation, but it works.
get it at http://www.lorenzomonti.it/which.exe
cheers - Lorenzo -
Thank you, this works. However, I found it less useful than expected - this seems to be a design problem in the original 'which'. For example:
> which.exe xcopy.exe
> which.exe xcopy
which.exe: no xcopy in ….
You have to specify the full filename (including extension). Hence, 'which' can not be used to ask "which program would be executed if I would enter XYZ". It would be gread if which.exe also would take PATHEXT into account, as (for example) Cygwin's which is doing:
$ which xcopy
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.