The command to enable large address aware is as follows…
EditBin /LARGEADDRESSAWARE NotePad.exe
How to check if the above command worked or not? Run the above executable (in our case NotePad.exe) with DumpBin.exe.
C:> DumpBin /Headers NotePad.exe
FILE HEADER VALUES
14C machine (x86)
4 number of sections
4BA1DC16 time date stamp Thu Mar 18 02:53:58 2010
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
Application can handle large (>2GB) addresses
32 bit word machine
See highlighted line.