/* CmdWnMax.Cmd sets an OS/2 User Ini file key so Command windows are opened in the Maximized state. The Application Name and Key parameters of the SysIni function (the second and third parameters) are case sensitive. The "S" and only the "S" in "Shield" must be capitalized. The "M" and only the "M" in "fMaximize" must be capitalized. A Key value of "0100"x, causes command windows to be opened in the Maximized state. A Key value of "0000"x, causes command windows to be opened in the normal state. */ "Cls" Say 'To set Command windows to be opened in the Maximized state enter: "M"' Say "" Say 'To set Command windows in be opened in the Normal state enter: "N"' Say "" Say "To Exit without changing the current setting press any other key." Ans = Translate(SysGetKey("NoEcho")) Select When Ans = "M" Then KeyValue = "0100"x When Ans = "N" Then KeyValue = "0000"x OtherWise Exit End Call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs" Call SysLoadFuncs Call SysIni "User", "Shield", "fMaximize", KeyValue