English 中文(简体)
Using PsExec to start Internet Explorer and then navigate to a particular URL
原标题:

I want to be able to use PsExec to start Internet Explorer, then load a particular website in the browser. I know how to start IE, just can t make a command that goes to a particular webpage. This is what I have so far:

psexec "C:program filesInternet Exploreriexplore.exe"

I just can t figure the syntax for loading anything other than the default start page

Thanks!

问题回答

I ll usually run something like this:

PsExec.exe \HOSTNAME -u Administrator -p ******** -i -d -e EXPLORER "http://www.google.com"

-i - makes it interactive; so the remote user can see it on their console session.
-d - makes psexec not wait for the program to terminate.
-e - causes the remote machine to not load the profile of the account we re using to log in with.

Passing the URL to EXPLORER will almost assuredly always work, and it will even open up in the user s default browser. Chrome, Opera, Firefox, IE...

I m not sure why you d want to use PsExec, but it would be like this:

psexec "C:program filesInternet Exploreriexplore.exe" "http://www.yahoo.com/"




相关问题
Image rendered with wrong colors in IE8

I have a gradient image as a PNG (no transparency) in a web-page. By taking a screenshot of Chrome showing the page and cropping the image from the page, I see the exact same colors are drawn as the ...

Determine Mobile Internet Explorer version

I need to determine the version of Mobile Internet Explorer on a Windows Mobile 6.1 device. So that I can report the same user-agent string as is being used by Mobile Internet Explorer. The user-...

CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

Internet Explorer only part loading JavaScript/CSS

I m having trouble with my local development environment where IE (6 through to 8) is only part loading JavaScript/CSS files. It throws random errors at random places in jquery.min.js every time I ...

IE doesn t run Javascript when you click back button

I ve built a shop with tons of JS running. One of the pieces of the cart, is a zip code field which is required to calculate shipping cost. This works fine going through the cart. Now clicking ...

热门标签