xp_cmdshell

  • I am trying to execute the following from the query analyzer . It seems not doing anything . Can you help me out

    EXEC xp_cmdshell 'print c :\temp.txt'

  • Do you have default printer configured in the machine your SQL Server is running? There should not be a space between "c" and ":" in your command.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply