Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximized Explorer and Windows Switches

Status
Not open for further replies.

hyperdaz

Technical User
Jan 17, 2003
77
GB
Im looking for a way to run Windows Explorer Maximized??
any ideas???

example
%systemRoot%\explorer.exe /n,/e, /select, c:\download
Force this window to be maximized just as if the Maximize button is pressed....

Iv checked n tried

1...Group Policy Editor..

2...visual fox pro
=add /n3 (not using fox pro)

3...checked for registry hacks

4...
ShowWindow Function
SW_SHOWMAXIMIZED
=dont know how to impliment


5...Cheched out trying to script it :S

Must be a simple way for a user to pass/force this for an app or window?
 
Open it, then maximize it, then click File->Close.

Next time you open it it will open the way you left it (maximized).

I dont know of a way to force it every time though.
 
Thanks for your reply...

I understand that but i still want to force it when it opens ..

 
I don't know if this is what you would want to do, but you could create a webpage using a javascript to make it maximized and use a .bat file to start the process. I'm not too good with javascript, so you'll have to find that script somewhere else. But I know it can be done. Here's an example of a batch file that would work:

start iexplore.exe %systemdrive%\maximize.html

maximize.html would be the html page with the javascript. That example would be for putting the html page in your c: drive (or whatever drive you have Windows installed in. If you are running this from a CD, change %systemdrive% to %cdrom%. Also, you could use another javascript that would redirect IE to any website you want after the the first javascript loads.

This might be a little more complicated than what you were looking for, but it will get the job done and give you more options than you wanted in the first place.
 
Thanks very much for your time and effort...

Im talking about windows explorer... and i did make a slight mistake...

want all windows explorer (not internet explorer) file browsing to be forced into maximized when open...

(dont wnat forced all the time just when its opened)...

Thanks
daz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top