dbTalk Databases Forums  

xp_cmdshell access denied output

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss xp_cmdshell access denied output in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mcolson
 
Posts: n/a

Default xp_cmdshell access denied output - 08-10-2007 , 08:38 AM






I am trying to execute a batch file using xp_cmdshell: EXEC
xp_cmdshell 'c:\testing\runbattest.bat'

When I do this, I get an output that says "Access is denied."

Here are the contents of my batch file. dir c:\windows\*.exe > c:
\test.txt

The batch file works fine, but I can not run it from sql. It should
be noted that I am using SQL Server Express. Do I need the full blown
version?

Thanks,

Matt


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.