Nov 7, 2003 #1 SteveMe MIS Aug 30, 2002 83 US Does anyone know how to get a carriage return in a net send message? Please advise. Thanks Steve
Nov 7, 2003 #2 SmileyConspiracy Technical User Feb 17, 2003 13 GB I haven’t tried this with net send but can you concatenate char(13) into your message string. So, set @message = ‘Hello‘ + char(13) + ‘Steve’ Upvote 0 Downvote
I haven’t tried this with net send but can you concatenate char(13) into your message string. So, set @message = ‘Hello‘ + char(13) + ‘Steve’
Nov 7, 2003 Thread starter #3 SteveMe MIS Aug 30, 2002 83 US Unfortunately that doesn't work. Here's my syntax EXEC master..xp_cmdshell 'net send userX Line 1 Line 2' Upvote 0 Downvote
Unfortunately that doesn't work. Here's my syntax EXEC master..xp_cmdshell 'net send userX Line 1 Line 2'
Nov 7, 2003 #4 LFCfan Programmer Nov 29, 2002 3,015 GB I dont think you can have a return in a dos command statement Upvote 0 Downvote