FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


VBS - PART 2 - Shell Control via VBS





gidevelop
This script goes for all the people that are working in IT. As you know most of the big corp's are behind a proxy and in that corp are a lot of dup users witch like to stck ther noses everyware. The users from my institution allways switch the proxy and the home page. Now this is at least DUMB because is only one proxy adres on witch inside connects to outside so no more talking, here are the scripts that you can place them at start-up, create a shortcut to ie through them etc.

Start explorer [start page incorporated] V2 [redundance removed for this version]
Code:


Set WshShell = WScript.CreateObject ("WScript.SHell")
WshShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\" & "Start Page","www.startpage.com","REG_SZ"
WScript.echo "Applied STAR PAGE - www.startpage.com"

Wshshell.Run ("IEXPLORE.exe")
WScript.Quit 1



USAGE

1] - Save the code to a file named whatever.vbs [very important .vbs]
2] - Change www.startpage.com (both places) to whatever start page you want
3] - If you want it in startup remove the last 2 lines [or leave them as they are if you want ie to launch at startup... but i don't think so]
Related topics
Xbox 360 Projected To Outpace Playstation
How do you keep the CD-Drive from making too much noise.
Guy cures asthma and allergies by getting infested hookworm
How to change MX Record on FriHost?
WoW Forum RPG
CVS Repository?
VBS - PART 1 - Computer info
VBS - PART 2 - Shell Control via VBS PART 2
Ever heard of controlling air conditioners with cell phones?
VJs?????
China Earthquake
SAVE THE INTERNET -- Net Neutralty on the line
escapeshellcmd seems to blank my user input
Totally bizarre network issue
Reply to topic    Frihost Forum Index -> Computers -> Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.