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

Call an exe from sql agent/job/sp 1

Status
Not open for further replies.

mbowles

Programmer
Aug 27, 2001
41
US
We have an app on a machine on the network that must stay there due to required api's and dlls to run. SQL resides on another machine on the same network.
I need to call that app(with params) from the sql agent of tail end of an stored proc. We currently use an rcommand, but network admins want to take that away. Any other methods?
 
EXEC master..xp_cmdshell '\\Server_OrIP_OfRemote\MyShare\APP.exe Param1, Param2 ...'

Thanks

J. Kusch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top