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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running an Executable Locally from the Server

Status
Not open for further replies.

na1

Programmer
Nov 26, 2002
2
GB
I am trying to run an executable on my local pc using the xp_cmdshell stored proc.
The app will only run on the server however.
eg.
exec master..xp_cmdshell 'c:\executable.exe'
where c:\executable.exe is a file held on the local pc.


 
Think of it this way, if you were on the server, how would you run the executable on your pc? Whatever that is, that is what you want to feed to xp_cmdshell.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top