Search found 2 matches

by gmh
20 Oct 2008 09:12
Forum: DOS Batch Forum
Topic: Removing & from string
Replies: 4
Views: 9787

Did not work...

He is an example of the actual string....

(doc NAME\ &\ NAME2\ NAME3)

If the & was not in the string I have other statements to remove the "(",")", and "\", but with the "&" it messes everything up.
by gmh
16 Oct 2008 14:56
Forum: DOS Batch Forum
Topic: Removing & from string
Replies: 4
Views: 9787

Removing & from string

I used FINDSTR in a FOR loop to pull out a specific string. The string contains an & in it. I am trying to remove it. I tried set q=%q:^&=% and it did not work. Any ideas?