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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.