Last updated September 6, 2009.
If you only need patch, download the standalone program from Sourceforge.
Note: patch on Windows requires CRLF line-endings; see also Common problems.
To integrate with double click:
- Create a patch.bat file in the same folder as patch.exe that contains
cd /d %~dp1
%~dp0patch.exe -p0 < %1
- Right click on any patch file (i.e. drupal.patch) and select Open With.
- Select newly created patch.bat file.
Windows Vista Users: To prevent patch from always requiring administrator rights do the following. In the same folder as your patch.exe file create a file named patch.exe.manifest In that file place the following.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">