Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Maximize Windows using batch file during startup


23 Jan 2011   #1

Windows 7 Ultimate x64
 
 
Maximize Windows using batch file during startup

Hi,
I would like to write a batch file(or more simple set up) to open a Website (Using IE) during Windows Startup and after this website open, its windows will be maximize(or full screen) automatically.
Anybody how to do this? Thanks!

My System SpecsSystem Spec
.

23 Jan 2011   #2

Windows 7 Ultimate x64
 
 

Create a shortcut to your browser. In the Target field, add SPACE followed by URL enclosed in parentheses.

Set shortcut property to open maximized. Place shortcut in Startup folder (or a more advanced startup location. If you don't know how, just use the Startup folder).
My System SpecsSystem Spec
24 Jan 2011   #3

Windows 7 Ultimate x64
 
 

how to set the shortcut property for particular a website?
I can set Shortcut property of IE, but while I open the shortcut of the website, it;s not maximized.
Also, how can I open a shortcut in full screen(F11). I can change from regedit, but after the computer restart, it back to the regular screen.
My System SpecsSystem Spec
.


24 Jan 2011   #4

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by beidog View Post
how to set the shortcut property for particular a website?
In the Target field, add SPACE followed by URL enclosed in parentheses.
Quote   Quote: Originally Posted by beidog View Post
while I open the shortcut of the website, it;s not maximized.
Set shortcut property to open maximized.
Quote   Quote: Originally Posted by beidog View Post
Also, how can I open a shortcut in full screen(F11).
I don't know. Wait, I was schooled...


Attached Images
 
My System SpecsSystem Spec
24 Jan 2011   #5

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

You mean the so called kiosk mode (F11). That can be done with -k switch in shortcut target. For instance to open this page in kiosk mode in IE from a shortcut, just create a new shortcut and add this to Target:

Shortcut to open this page in 32-bit IE (default), in kiosk mode on a 64-bit Windows 7:

"%programfiles(x86)%\internet explorer\iexplore.exe" -k http://www.sevenforums.com/general-discussion/139966-maximize-windows-using-batch-file-during-startup.html

Shortcut to open this page in 64-bit IE, in kiosk mode on a 64-bit Windows 7, OR to open this page in 32-bit IE, in kiosk mode on a 32-bit Windows 7:

"%programfiles%\internet explorer\iexplore.exe" -k http://www.sevenforums.com/general-discussion/139966-maximize-windows-using-batch-file-during-startup.html

To "decode" that line, there's first the path to IE, followed by the switch -k which opens IE in borderless kiosk mode, followed by the URL of the site you want to open.

Name:  Shortcut_target.png
Views: 48
Size:  36.1 KB

Kari


My System SpecsSystem Spec
24 Jan 2011   #6

Windows 7 Ultimate x64
 
 

I can find these all in the IE shortcut, but not the website shortcut(No Maximize windows options and the "Target")
Everything I changed on the IE Shortcut(the Maximize Windows and the -K options) doesn't affect anything on the website shortcut. Thus, I put the website shortcut on the startup, the webpage still pops up like the normal screen.
My System SpecsSystem Spec
24 Jan 2011   #7

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Let's try one more time. Follow these instructions exactly as written, doing every step as told and nothing else.

This example creates a shortcut that opens Seven Forums in Internet Explorer borderless kiosk mode (same as if F11 is pressed), and saves the shortcut in Startup folder so it is automatically run every time Windows is launched:
  1. Click Start Orb
  2. If you want this shortcut to be launched only when logging in to the current user account, right click All Programs, select Open, continue then from step 4
    .
    Name:  StartMenu_programs_open.png
Views: 12
Size:  7.1 KB
    .
  3. If you want this shortcut to be launched when logging in to any user account, right click All Programs, select Open All Users
    .
    Name:  Startmenu_programs_open_all_users.png
Views: 8
Size:  26.0 KB
    .
  4. An explorer window opens, showing your personal Start Menu folder or the Start Menu folder for all users, depending on your choice above (step 2 or 3). Double click Programs, then double click Startup
  5. When in Startup folder, right click an empty spot on the right pane
  6. Select New > Shortcut
    .
    Maximize Windows using batch file during startup-shortcut_create_1.png
    .
  7. Type this under Type the location of the item exactly as written here:
    1. If you are using Windows x64:
      "%programfiles(x86)%\internet explorer\iexplore.exe" -k http://www.sevenforums.com
    2. If you are using Windows x86:
      "%programfiles%\internet explorer\iexplore.exe" -k http://www.sevenforums.com
  8. Click Next
    .
    Name:  Shortcut_create_2.png
Views: 21
Size:  18.2 KB
    .
  9. Name the shortcut as you wish, click Finish
    .
    Name:  Shortcut_create_3.png
Views: 12
Size:  15.3 KB
That's it. Now you have a shortcut that opens IE in kiosk mode, showing Seven Forums front page every time when Windows is started. You can replace the Seven Forums URL used in this example with any web address you want to, to open any site.
Maximize Windows using batch file during startup-shortcut_create_4.png
Kari


My System SpecsSystem Spec
Reply

 Maximize Windows using batch file during startup




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 10:49 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33