Search found 3 matches

by SteveT44
11 Jan 2010 13:14
Forum: DOS Batch Forum
Topic: Processing reserved charectors in a batch
Replies: 2
Views: 4901

Processing reserved charectors in a batch

Hello, I am parsing a file containing html tags. At issue is the greater than and less than symbols (<>) . A for-do loop reads these lines in fine. The problems occur when I attempt to set another variable to equal the variable containing these symbols or echoing the variable to screen or a file. Th...
by SteveT44
02 Dec 2009 14:29
Forum: DOS Batch Forum
Topic: Replace space with %20
Replies: 2
Views: 4331

Just what I needed!

Thanks


Steve
by SteveT44
02 Dec 2009 09:03
Forum: DOS Batch Forum
Topic: Replace space with %20
Replies: 2
Views: 4331

Replace space with %20

Hello,

Can anybody suggest a way to replace spaces in an environment variable with "%20"? The following:

set string=%string: =%%20%

removes the spaces and appends %20%.


Thanks

Steve T.