\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags in the registry maybe? Probably in the Layers subkey. If not, search the registry for the .exe name.
I doubt it is stored in the shortcut itself but to be sure you could compare a before and after file with fc.exe.
IntOp $PostCount $PostCount + 1
|