Friday, 15 July 2011

windows - Batch file to launch programs in Win 7 (regular+admin) -



windows - Batch file to launch programs in Win 7 (regular+admin) -

each day when work have start bunch of programs , can take 10 minutes or more wanting automate process writing batch file open me.

so far i've got ie & outlook launch fine using:

start /d "c:\program files (x86)\internet explorer\iexplore.exe" iexplore.exe start /d "c:\program files (x86)\microsoft office\office14\outlook.exe" outlook

however need launch instance of ie in admin business relationship & trying:

start runas /profile /savecred /user:!ofnn "c:\program files (x86)\internet explorer\iexplore.exe"

iexplore.exe found on question here nothing. ie doesn't open & don't see uac prompt i'm expecting can come in password.

also regarding ie & bearing in mind can't alter default home page settings due corporate restrictions possible specify list of urls in batch script ie open? have 7 in regular ie & 6 in admin instance.

why using batch file start applications on windows start?

it much easier set shortcuts (*.lnk) files startup folder of windows start menu. every user business relationship has own startup folder in start menu folder.

create shortcut outlook.exe in startup folder , windows start outlook after logged in, except hold shift after login windows recognizes , interprets ignoring shortcuts in startup folder.

ie command-line options documents command line options of net explorer. see how open multiple tabs in ie8 command prompt? containing solution open multiple urls tabbed in net explorer using visual basic script. shortcut in startup folder link wscript.exe script file parameter.

windows internet-explorer batch-file

No comments:

Post a Comment