Search found 3 matches
- 11 Jan 2010 13:14
- Forum: DOS Batch Forum
- Topic: Processing reserved charectors in a batch
- Replies: 2
- Views: 4894
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...
- 02 Dec 2009 14:29
- Forum: DOS Batch Forum
- Topic: Replace space with %20
- Replies: 2
- Views: 4324
- 02 Dec 2009 09:03
- Forum: DOS Batch Forum
- Topic: Replace space with %20
- Replies: 2
- Views: 4324
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.
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.