| I have a batch file I'm working on, it queries the registry for a value, which contains the path to a file on the computer, then puts iti n a variable.|
However my username contains a "Trademark" sign, so I cannot use the path in any further logic in the batch file, as the command prompt translates the sign into some other sign.
I compare the path with "%homedrive%\%homepath%", which contains the trademark sign and displays it correctly, so when I do
if %filePath%==%homedrive%\%homepath% it will always be false as the trademark sign is not correct.
Is there a way around this?
99 little bugs in the code,
99 little bugs.
Take one down, patch it around,
129 little bugs in the code.
message edited by RainBawZ