The CorFlags Conversion tool allows you to configure the CorFlags section of the header of a portable executable image.This tool is new in the .NET framework version 2.0.
CorFlags.exe assembly [options]
Scenario: you have an application Galaxy.exe which was compiled “any cpu” with a Whidbey compiler, but you want to force it to run as a 32-bit application even on 64-bit machines.
Use Visual Studio Command Prompt to Run the following commands
Run: corflags.exe /32BIT+ Galaxy.exe
Result: Galaxy.exe is now marked as if it was compiled /platform:x86