runas /noprofile /user:Administrator cmd
That's not the point. I can build a VFP executable that must be ran as administrator, regardless of how it is launched. The problem is that to build a VFP app/exe/dll you must be inside the VFP IDE. And to build a OLEPUBLIC class, the VFP IDE itself must have been launched as administrator. So, back to square one.