longingfriend
SSC Veteran
Points: 222
More actions
April 22, 2003 at 7:45 am
#82061
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'
Allen Cui-55137
SSC Guru
Points: 51650
April 22, 2003 at 8:26 am
#454912
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