Results 1 to 3 of 3

Thread: xp_cmdshell

  1. #1
    Join Date
    Feb 2004
    Location
    india
    Posts
    67

    Unanswered: xp_cmdshell

    how to enable xp_cmdshell

  2. #2
    Join Date
    Jan 2003
    Location
    India
    Posts
    523

    Re: xp_cmdshell

    Originally posted by vrsrinivas
    how to enable xp_cmdshell
    what do u mean by enabling xp_cmdshell??

    By default, only members of the sysadmin fixed server role can execute this extended stored procedure. You may, however, grant other users permission to execute this stored procedure

    harshal.

  3. #3
    Join Date
    Feb 2004
    Posts
    4

    Re: xp_cmdshell

    Originally posted by vrsrinivas
    how to enable xp_cmdshell
    Be sure to include master in the call.

    e.g. EXECUTE master..xp_cmdshell 'dir c:\'

    HTH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •