Hi Guys,
I am attempting to create an item that will collect a list of outdated products off a Windows box. The item runs a vbs script which uses WScript.Echo (I've tried WScript.StdOut.Write also), but all that gets stored in the database is the first line of text. It cuts it off at the cr/lf.
I've tried just outputting a LF instead of CRLF, this doesn't work either. Even if I echo the LF in the middle of the line it still cuts it off, i.e. WScript.Echo "Test line 1" & chr(10) & "Test line 2" will simply show up as "Test line 1" in the database. I can output tabs.
Anyone have any idea how to get this to work on Windows?
Thanks
Peter
I am attempting to create an item that will collect a list of outdated products off a Windows box. The item runs a vbs script which uses WScript.Echo (I've tried WScript.StdOut.Write also), but all that gets stored in the database is the first line of text. It cuts it off at the cr/lf.
I've tried just outputting a LF instead of CRLF, this doesn't work either. Even if I echo the LF in the middle of the line it still cuts it off, i.e. WScript.Echo "Test line 1" & chr(10) & "Test line 2" will simply show up as "Test line 1" in the database. I can output tabs.
Anyone have any idea how to get this to work on Windows?
Thanks
Peter