Page 1 of 1

IMAGE_DESC - what are the rules?

Posted: Fri Apr 21, 2023 7:53 am
by Tokener
Dear synchronicity

Using the colon in IMAGE_DESC I noticed this:

Setting the IMAGE_DESC to "Source: C:/Win/Dir" when capturing, will result in: "Source" as description string. (Line is truncated)

Setting the IMAGE_DESC to "C:/Win/Dir" when capturing, will not truncate the resulting desription string.

In the first case the first colon delimits the line, in the second case it does not.

What rules should be kept in mind for the description?

Best regards T.

Re: IMAGE_DESC - what are the rules?

Posted: Fri Apr 21, 2023 5:25 pm
by synchronicity
"Source: C:/Win/Dir" works for me. Almost any string is allowed; it just can't contain control characters other than whitespace, to comply with the XML specification. How are you entering the command, exactly? Is this on Windows, and if so are you using cmd or Powershell? Is it possible that you haven't quoted the string properly for the shell you're using?

Re: IMAGE_DESC - what are the rules?

Posted: Sat Apr 22, 2023 3:26 am
by Tokener
Dear synchronicity
thank you for fast and detailed reply.
You are right, I apologize for not checking the resulting image with INFO command.
The error seemed to occure when cmd-output was (mis-) interpreted by me.
Best regards T.