STAYPUT Ver 1.00 StayPut is a utility program that will run a program in a specified window state and continuously monitor it resizing it if changed. StayPut command- line options are as follows: StayPut [-wdwopt=n] [Drive:\Path\]Program [options..] Where:wdwopt = window state to StayPut -1 - Hidden 1 - Minimized 2 - Normal 3 - Maximized Program = Supplies StayPut with the name of the program to be run and may optionally contain the Drive and Path if not in the current directory or in the Dos Path. The program extension (.exe, .com or .bat) must be supplied. Option = Any additional parameters to pass to the program. These parameters must be in the order the program expects them. NOTE: The window state command-line option must be specified first! All command line options following the program name will be sent to the program for processing without verification. When specifying window state, be aware some programs do not properly accept a startup window state. For example: when specifying WinCim in a maximized state, the program will only start in a normal state. For those programs being run in a normal window state, it is best to start the program without StayPut, adjust the program's normal window size and position, then exit to allow the program to save its size and position. Since StayPut will not allow the window to be resized or moved when run, this allows the program to look the way you want before using StayPut. Examples: StayPut -wdwopt=2 c:\cserve\wincim\wincim.exe Runs WinCim in a normal window StayPut -wdwopt=3 notepad.exe c:\notice.txt Runs notepad maximized passing the filename notice.txt This program was written as FREEWARE. Yes, its free for the taking, but with the standard disclaimer that I am not responsible for any damage, loss of data or any other mishaps that may occur when using this program. Any bug reports or comments can be sent to the address below or via Compuserve. Paul Mele P.M. Systems 8385 Tulip Lane Chagrin Falls, Ohio 44023 (216) 543-8739 Compuserve: 70253,2100 Written using WinBatch which means portions are copyrighted by Wilson WindowWare, 2701 California Ave SW, Suite 212, Seattle, WA 98116 1(800)762-8383. The ultimate in WindowWare and a must for anyone's toolbox!