Hello all,
I don't kow if this is a good place for this question but I couldn't find any other place to put it.
So here it goes. I'm reading a byte from a HEX file that is transformed from hexa to ascii. My input could would be 1,2 or 3 symbols as on byte is from 0 to 255. What I want is a batch script to put leading zeros to this string to always have 3 digits. So I need a transformation from 01 to 001 as example. The problem is that could be 1 or 01... so I don't know if I have to put 1 or 2 leading zeros...
Thanks!