The command "patch" is a widely used Unix text processing utility. A version of patch for Windows is available as part of the GnuWin32 project. Unfortunately, the User Account Control (UAC) on Windows 7 causes some difficulties when trying to run patch.
There are two steps to work around this problem:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly>Then, run a Visual Studio command prompt as administrator — bring up
Start -> All Programs -> Microsoft Visual C++ 200x -> Visual Studio Toolsand on "Visual Studio 200x Command Prompt" right-click and select "Run as administrator". Then cd to the patch.exe installation directory, which is probably
C:\Program Files (x86)\GnuWin32\binand run
mt -manifest patch.exe.manifest -outputresource:patch.exe;1
Back to OOMMF 1.2a3 Patches, or
The National Institute of Standards and Technology (NIST) is an agency of the U.S. Commerce Department.
Privacy policy / security notice / accessibility statement /
Disclaimer /
Freedom of Information Act (FOIA) /
No Fear Act Policy /
ExpectMore.gov (performance of federal programs) /
NIST Information Quality Standards /
Environmental Policy Statement
Date created: May 11, 2010 | Last updated: April 27, 2011 Contact: Webmaster