Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shortcut Execute file on other Computer ..

Status
Not open for further replies.

desprits

Programmer
Feb 14, 2004
40
0
0
CA
Situation: we have 2 computer in network. The First one = "A" and Second = "B". The file.exe is on the computer "A".

Is it possible to create a shortcut which start of "B" computer to execute the file.exe which is on "A" computer?

Thk!
 

Yes ... however file.exe will be running in the address space of "B" if you use just a shortcut.

Have you read FAQ222-2244 item 15 yet?

Good Luck

 
Am I to oblige to share a file to arrive there?
 

Yes you will need to install it on "B". Meaning you run the setup on "B" even though the location you select is "A's" hard drive.

But from the sounds of it you want to trigger an application on "A" from "B" so that the application runs in "A's" address space. If this is so then you can create a service that listens for instructions. Then when "B" starts it has an application that communicates with the service on "A" and when it ("A") recieves the message from "B" it could shell out to the program. However you may have to impersonate a user for the application to run, depending upon what you are doing.

There are other ways in which to accomplish this but with the amount of information you are providing its a little hard to tell exactly what you want to accomplish.

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top