Hello,
I have a Question.
I have made a bat file for some search in a txt document.
The anser of the batch file is a nummer of licences that are in use.
The batch file on a dos promt works fine. But i get spaces in the anser to zabbix.
in the debug log i get this:
EXECUTE_STR() command:'"C:\script\licexport.bat" 1' len:5 cmd_result:'5'
But when i look in notepadd ++ i get this
EXECUTE_STR() command:'"C:\script\licexport.bat" 1' len:5 cmd_result:'FF FF FF FF5'
What can i my problem :-)
I have a Question.
I have made a bat file for some search in a txt document.
The anser of the batch file is a nummer of licences that are in use.
The batch file on a dos promt works fine. But i get spaces in the anser to zabbix.
in the debug log i get this:
EXECUTE_STR() command:'"C:\script\licexport.bat" 1' len:5 cmd_result:'5'
But when i look in notepadd ++ i get this
EXECUTE_STR() command:'"C:\script\licexport.bat" 1' len:5 cmd_result:'FF FF FF FF5'
What can i my problem :-)
Comment