Maximize window command line instruction

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a scheduled task that I want to run in a maximized window. Before XP
there was a choice for screen opening size in the properties. I cannot find
such an option in XP Pro.

Help instructions talk about tabs that I cannot find anywhere

I presume that there probably is a command line instruction to accomplish
this in the Run portion of the Task tab in the Scheduled process Properties
pop up window.

example Run : C:\Program Files\anyprogram.exe /maxwindowswitch

Is this a solution to my need and if so, how is the switch coded?
 
You can use the 'start' command, if you type 'start /?' at the command
prompt it will give you the options you need to start it maximized.

or i guess if your task point to a shortcut you can just edit the properties
of the shorcut to start it maximized.
 
3c273 said:
Type "start /?" at a command prompt.
Louis

This is a Scheduled Task. I do not have the opportunity to do as you
suggest. I need coding to put in th Task Scheduling setup
 
Paul Mckenna said:
You can use the 'start' command, if you type 'start /?' at the command
prompt it will give you the options you need to start it maximized.

or i guess if your task point to a shortcut you can just edit the properties
of the shorcut to start it maximized.

This is a Scheduled Task. I do not have the opportunity to do as you
suggest. I need coding to put in th Task Scheduling setup
 
Create a batch file with this line in it:
start /MAX "C:\PathToMyProgram\MyProgram.exe"
and schedule that to run.
Louis
 
3c273 said:
Create a batch file with this line in it:
start /MAX "C:\PathToMyProgram\MyProgram.exe"
and schedule that to run.
Louis

Wcreated a batch file from your instruction I got the error message:

'/MAX' is not recognixed as an internal or external command,
operable program or batch file.

I tried it with /MAX at the end of the code line. The program ran in its
normal reduce window style.

Any other ideas?
 
eidt the Properties of the EXE file itself as well as the Shortcut to make it MAXAMIZED.



(e-mail address removed)





3c273 said:
Type "start /?" at a command prompt.
Louis

This is a Scheduled Task. I do not have the opportunity to do as you
suggest. I need coding to put in th Task Scheduling setup
 
mikeyhsd said:
eidt the Properties of the EXE file itself as well as the Shortcut to make it MAXAMIZED.



(e-mail address removed)







This is a Scheduled Task. I do not have the opportunity to do as you
suggest. I need coding to put in th Task Scheduling setup

There is no opportunity to set the screen in the properties of the program
 
Make a shortcut of application that you want to use.
Right click shortuct > Properties > Set Run : Maximized
Schedule the shortcut.
 
use Windows Explorer and browse to where the program is installed. right click on the one you wish to run select properties and on the RUN line set it to MAXAMIZED.

you are trying to make something super easy way to complicated.



(e-mail address removed)





mikeyhsd said:
eidt the Properties of the EXE file itself as well as the Shortcut to make it MAXAMIZED.



(e-mail address removed)







This is a Scheduled Task. I do not have the opportunity to do as you
suggest. I need coding to put in th Task Scheduling setup

There is no opportunity to set the screen in the properties of the program
 
mikeyhsd said:
use Windows Explorer and browse to where the program is installed. right click on the one you wish to run select properties and on the RUN line set it to MAXAMIZED.

you are trying to make something super easy way to complicated.



(e-mail address removed)







There is no opportunity to set the screen in the properties of the program

No reason to get nasty! I am not over complicating This is very frustrating
to me. When dealing with the Properties ina SHORTCUT, there is Run box with
Normal, Maximized, and Minimized as choices

IN THE PROPERTIES OF .EXE FILES ON MY SYSTEM THERE IS NO SUCH BOX - ON ANY
OF THE 4 TABS General, Version, Compatibility, Summary. I CHECKED SEVERAL
OTHER PROGRAMS AND FOUND THIS TO BE TRUE IN EACH ONE.THE ABSENCE OF THIS
CHOICE IS WHY I CAME TO THIS FORUM IN THE FIRST PLACE. I'VE BEEN IN THIS GAME
PROBABLY LONGER THAN YOU ARE OLD. THE VAGARIES OF REDMOND OCCASIONALLY
NECESSITATE FINDING OUT IF ANYONE ELSE HAS EXPERIENCED A "DUMB" THING - AND
THEN HOPEFULLY FINDING A FIX.

Your other suggestion about creating a shortcut with the proper coding for
Maximized almost looked like an answer, and I was feeling dumb for not
thinking of it. But, as it turns out I must have tried it before because
therE was a shortcut on file that did just what I wanted. When clicked on, a
full screen came up. I was feeling the fool when I found it. But, it doesn't
work in Scheduled task. Don't ask me why the XP programmer would have done
the next thing. It makes no sense to me. When the Shortcut is entered in
the Run box of the Scheduling wizard, the entry changes to the .exe file that
the Shortcut points to when Apply is clicked. So I was right back where I
started.

I am going to look for other software to accomplish my required tasks with
more flexibility
 
I'll try one more time. I tested this before I posted the first time. You
are trying to make this way to difficult!

start /MAX "C:\PathToMyProgram\MyProgram.exe"

Louis
 
There is no setting in exe files to run the program maximized. I dont know
why "mikeyhsd" said that. That is why i suggested you to make a shortcut
first but i dont know why the shortcut still opens in normal window when
you run it via Sheduled Tasks. Try this :
Click STart > Run
Type CMD
Click OK
Type :
start /max "Program file path"

Now, if the program opens maximized then try the bat file suggestion "3c273"
posted. If not, then the only reason can be that the program is resizing
itself, so look for some kind of option in program like "Remember Window
Size"
 
Back
Top