Check windows client’s execution mode at runtime

If you want to check if the windows client is run in config mode at runtime, then there is an easy method to do that: // variables Env : DotNet : System.Environment.’mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′ cmdArgs : DotNet : System.Array.’mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′ // code cmdArgs := Env.GetCommandLineArgs; IF LOWERCASE(FORMAT(cmdArgs.GetValue(1))) = ‘-configure’ THEN   // do… Continue reading Check windows client’s execution mode at runtime