Andriy Palamarchuk apa3a@yahoo.com writes:
regedit -> /usr/local/bin/wine regedit.so -> /usr/local/bin/regedit.so regedit.exe -> /usr/local/bin/wine regedit.exe.so -> /usr/local/bin/regedit.so
The .exe variant should be enough. Wine will append .exe if there's no extension.
This fixes problems with full path and with using or not using file extention, but how to handle case-insensitivity? Regedit can be called as REGEDIT, RegEdit, Regedit, regedit. Now multiply this on number of extentions exe, EXE. This is without considering really fancy cases, like "ReGeDiT".
This is already handled by the filesystem functions. You don't need to do anything.