 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.
Windows 7 - Maximize Windows using batch file during startup |
01-23-2011
|
#1 | | |
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 Specs | | OS Windows 7 Ultimate x64 |
01-23-2011
|
#2 | | |
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 Specs | | OS Windows 7 Ultimate x64 CPU P4 3.2 Motherboard Intel 815GM Memory DDR 400 Graphics Card ATI HD3850 Sound Card C-Media 7.1 Monitor(s) Displays SyncMaster 244T Screen Resolution 1920*1200 PSU 500 Case PowerSpec $24 Cooling ThermalTake copper Hard Drives Several Internet Speed Blazing |
01-24-2011
|
#3 | | |
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 Specs | | OS Windows 7 Ultimate x64 |
01-24-2011
|
#4 | | |

Quote: Originally Posted by beidog how to set the shortcut property for particular a website? In the Target field, add SPACE followed by URL enclosed in parentheses. 
Quote: Originally Posted by beidog while I open the shortcut of the website, it;s not maximized. Set shortcut property to open maximized. 
Quote: Originally Posted by beidog Also, how can I open a shortcut in full screen(F11). I don't know. Wait, I was schooled...
Last edited by DeVandal; 01-24-2011 at 01:28 AM..
Reason: It was Kari's faut
| My System Specs | | OS Windows 7 Ultimate x64 CPU P4 3.2 Motherboard Intel 815GM Memory DDR 400 Graphics Card ATI HD3850 Sound Card C-Media 7.1 Monitor(s) Displays SyncMaster 244T Screen Resolution 1920*1200 PSU 500 Case PowerSpec $24 Cooling ThermalTake copper Hard Drives Several Internet Speed Blazing |
01-24-2011
|
#5 | | |
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.
Kari
Last edited by Kari; 01-24-2011 at 01:53 AM..
| My System Specs | | System Manufacturer/Model Number HP ENVY 17-1150eg OS Windows 7 x64 Ultimate CPU 1.6 GHz Intel Core i7-720QM Processor Memory 6 GB Graphics Card ATI Mobility Radeon HD 5850 Graphics Sound Card Beats sound system with integrated subwoofer Monitor(s) Displays 17" laptop display, 22" LCD and 32" Full HD TV through HDMI Screen Resolution 1600*900, 1680*1050 and 1920*1080 Keyboard Logitech diNovo Media Desktop Laser (bluetooth) Mouse Logitech MX1000 Laser (Bluetooth) Hard Drives Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media Internet Speed 50/10 Mbps VDSL Other Info Windows 7 Ultimate Retail Full in English, additional Guest-user accounts in Finnish, German and Swedish (Working languages English & Swedish, Family language German, my own language, mother tongue, Finnish. I really need Ultimate to get to use Language Packs!) |
01-24-2011
|
#6 | | |
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 Specs | | OS Windows 7 Ultimate x64 |
01-24-2011
|
#7 | | |
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: - Click Start Orb
 - 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
. 
. - If you want this shortcut to be launched when logging in to any user account, right click All Programs, select Open All Users
. 
. - 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
- When in Startup folder, right click an empty spot on the right pane
- Select New > Shortcut
. 
. - Type this under Type the location of the item exactly as written here:
- If you are using Windows x64:
"%programfiles(x86)%\internet explorer\iexplore.exe" -k http://www.sevenforums.com - If you are using Windows x86:
"%programfiles%\internet explorer\iexplore.exe" -k http://www.sevenforums.com
- Click Next
. 
. - Name the shortcut as you wish, click Finish
. 
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. 
Kari
Last edited by Kari; 01-29-2011 at 06:37 AM..
Reason: Added option for All Users (step 3)
| My System Specs | | System Manufacturer/Model Number HP ENVY 17-1150eg OS Windows 7 x64 Ultimate CPU 1.6 GHz Intel Core i7-720QM Processor Memory 6 GB Graphics Card ATI Mobility Radeon HD 5850 Graphics Sound Card Beats sound system with integrated subwoofer Monitor(s) Displays 17" laptop display, 22" LCD and 32" Full HD TV through HDMI Screen Resolution 1600*900, 1680*1050 and 1920*1080 Keyboard Logitech diNovo Media Desktop Laser (bluetooth) Mouse Logitech MX1000 Laser (Bluetooth) Hard Drives Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media Internet Speed 50/10 Mbps VDSL Other Info Windows 7 Ultimate Retail Full in English, additional Guest-user accounts in Finnish, German and Swedish (Working languages English & Swedish, Family language German, my own language, mother tongue, Finnish. I really need Ultimate to get to use Language Packs!) Maximize Windows using batch file during startup problems? All times are GMT -5. The time now is 11:42 PM. |  |