RCG needs help with possible poison characters (getting clos

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: RCG needs help with possible poison characters (getting

#46 Post by foxidrive » 28 Nov 2012 11:50

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*

timbertuck
Posts: 76
Joined: 21 Dec 2011 14:21

Re: RCG needs help with possible poison characters (getting

#47 Post by timbertuck » 28 Nov 2012 11:59

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?

Post Reply