fishy

Tuesday, April 17, 2012

Open browser from cmd

Just use this way of starting my browser and connecting to a particular office site. Pretty easy.
Open notepad>> type @start "" /b "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" www.anysite.com %* .Save it as .bat file and run it from cmd.
This is on a win7 machine. You can modify path for Winxp and for IE/opera/*


No doubt you have firefox.exe or iexplore.exe opening from the run box. But if you want to open a particular website say, quality centre when you launch IE, the above script helps.

No comments: