cmd 'patch' is not recognised as an internal/external command, operable program or batch file

cmd

Solution

patch is not part of Windows so it won't be installed unless you install it yourself. You can get it as part of the GnuWin32 project - http://gnuwin32.sourceforge.net/packages/patch.htm

Problem

I'm trying to patch my wordpress installation to protect from user enumeration. I found a patch - here It said to use it I need to navigate to the sites root folder, add the patch file then run it using cmd , `patch -p0 <wpuserEnum.patch` When I hit enter I get the 'patch' is not recognised as an internal/external command, operable program or batch file' message Not the most helpful error reporting. I have googled the problem all day and have not found any solutions regarding 'patch' specifically I have checked PATH and there is a C:\Windows\System32 path there Can anybody shed any light on what is happening and why? I am running Windows Server 2008.

Original source