Replace space with %20
Posted: 02 Dec 2009 09:03
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.