windows - Run iexplore.exe invisibly -
i trying run iexplore.exe invisibly. works shows net explorer window.
@start iexplore www.google.com
than tried /d
@start /d iexplore www.google.com
but i'm getting "the current directory invalid" error. right way run iexplore via bat file invisibly ?
set wshshell = wscript.createobject("wscript.shell") wshshell.run """c:\program files\internet explorer\iexplore"" www.google.com", 0, false
put in file called hiddengoogle.vbs
0 means hidden - there 12 options
false means don't wait. true means wait.
typing in command prompt allow check on hidden window. can tell 1 window title.
tasklist /v /fi "imagename eq iexplore.exe"
or
tasklist /v /fi "imagename eq iexplore.exe" /fi "windowtitle eq google - windows net explorer"
just type name of vbs file run it. either in command prompt or in batch file.
"c:\some folder\hiddengoogle.vbs"
that's all.
windows batch-file cmd
No comments:
Post a Comment