Kaseya Community

Agent Procedures: problem to reed a number into file txt

This question has suggested answer(s)

Hi, I'm Luca,
into Agent Procedures I have  a problem about read a number from a file txt and when I send email, i read in email  the value ÿþ2,  What is it?
Maybe it means that the script not find the value on file txt?


All Replies
  • Use the type command to convert the file to ascii.

    You can find more info from the following forum article.


  • A quick way to fix it is to use the "Type" command in an "Execute Shell Command" to convert the contents of the text file into a new text file.

    TYPE [filepath]\[filename] >> [filepath]\[newfilename]