wine: cannot find L"c:\\windows\\system32\\find.exe"

Questions about Wine on macOS.
Locked
dom_miketa
Newbie
Newbie
Posts: 1
Joined: Tue Jun 20, 2017 5:01 am

wine: cannot find L"c:\\windows\\system32\\find.exe"

Post by dom_miketa » Tue Jun 20, 2017 5:09 am

I'm trying to run a .exe someone else had compiled, but it really seems to be a batch file in disguise. It calls the command line utility 'find', which doesn't seem to be included in Wine. I've tried replacing it by copying findstr.exe and renaming it to find.exe, given that they share much of their syntax so 1-to-1 replacement has a chance of working.

The issue is that Wine doesn't even see the faux find.exe. I get the error message

Code: Select all

wine: cannot find L"c:\\windows\\system32\\find.exe"
even though find.exe most definitely is there, as checked by both 'ls -l' in the Unix shell and 'dir' in the Wine cmd shell; the former also shows that find.exe inherited all attributes, including permissions, from findstr.exe. Findstr.exe, on the other hand, can be called without any issues.

All of this is in a fresh prefix and on a Mac, but I don't think that's very relevant.

Thanks in advance for your help!

Locked