For example, suppose I have a batch file called 'test.cmd'
and it simply contains:
echo %1
I can call this directly from the command prompt with 'test.cmd some¬arg'
and the result is that the string 'some¬arg'
is printed.
However if I place that same call in a second batch file, called 'tester.cmd'
for the sake of argument, and I call this from the command prompt the result is that the string 'some%arg'
is printed.
What is it that messes up the encoding and how do I get around it? I am sure I've fixed this before, but I can't remember how...
Thanks!