|
Answer» Hey
say I have read into a variable var an encrypted string. Now this string contains all sorts of strange characters/symbols
when i try to write the string to a file
echo %var% >> add.ldif
it SOMETIMES shouts at me if there are certain characters like '|' in the string. Since the openssl engine is completely handling the DES3 encryption for me I have no control whether such a character would be in the encrypted string or not.
Result my batch file WORKS half the TIME.
Now I know one option is to put "" around the variable and the whole string gets qoutes arond it but is there no way to write the string as-is without the ADDITIONAL quotes.
Thanks guysYeh i think you are talking about the same problem that i had a time a go i had to send in like maybe 3 NEW topics to find it out
if you are having problems with viewing symbols you shuld try use the "^" before the symbol;
like if you wana use | you just put ^ in front of it so it will look like ^|
i hope this was the answer of what you where looking for
|