GNU Patch in Windows 7 or Vista
I just had a little fight with Windows 7 about permissions. It seems that it demands that any executable with the word “patch” in the name must be run with administrative privileges. After fighting with it for a few minutes about the absurdity of the problem, I resorted to a simple hack.
- Rename patch.exe to patsh.exe.
- Then create patch.bat in the same directory containing the following command:
@patsh.exe %*
You will never notice a difference, and Windows 7 can go politely F*** itself.