Page 4 of 4

Re: RCG needs help with possible poison characters (getting

Posted: 28 Nov 2012 11:50
by foxidrive
timbertuck wrote:it still does not work. this is due to endlocal being run??


You could see that with my example.

I mentioned earlier that you will have trouble using the strings in a batch file - with all the poison characters. Your response was that they are only going to the screen.

*shrug*

Re: RCG needs help with possible poison characters (getting

Posted: 28 Nov 2012 11:59
by timbertuck
foxidrive wrote:
timbertuck wrote:it still does not work. this is due to endlocal being run??

You could see that with my example.
I mentioned earlier that you will have trouble using the strings in a batch file - with all the poison characters. Your response was that they are only going to the screen.
*shrug*


but im confused... the solution was to run endlocal and on the same line run the set var=%var%. my limited example shows that running for up to 20 vars. yes you are correct though in that i wanted the output to be the screen, but didn't add that i wanted to save the string to a var if specified.. my bad.. so there is no way to condense what i have working then?