Hi,
I'm trying to execute the following xp_cmdshell statement in order to create a new directory on a different machine to my SQL server.
When i try to create the file locally, all is well, however not on the remote PC.
I have ensured that my "DOMAIN\SQLService" account has access to the shared resource on the remote PC and that it has local admin access too, but still no joy.
Can anyone suggest where i'm gong wrong?
Cheers,
Leigh
The problem with common sense is that it isn't that common!
I'm trying to execute the following xp_cmdshell statement in order to create a new directory on a different machine to my SQL server.
Code:
xp_cmdshell 'mkdir "\\Prnsrv01\reminders and direct mailing\Test Dir"'
When i try to create the file locally, all is well, however not on the remote PC.
I have ensured that my "DOMAIN\SQLService" account has access to the shared resource on the remote PC and that it has local admin access too, but still no joy.
Can anyone suggest where i'm gong wrong?
Cheers,
Leigh
The problem with common sense is that it isn't that common!