To make my batch file readable, I tried to align the SET statements as below
SET SVN_URL = http://server.test.com
SET SVN_USER_NAME = foo
SET SVN_USER_PASSWORD = pass
How ever when I try to echo %SVN_URL% I got nothing. I found that the variable names could have spaces https://ss64.com/nt/set.html
So my variable will be %SVN_URL % (with spaces)
Is it any way to fix it ?!
setcommand, you really want to avoid spaces around the=entirely; always format yoursetstatements asset varname=valueand add comments (remstatements) if you want readable documentation.Set "SVN_URL=http://server.test.com"Set "SVN_URL=http://server.test.com"but are removed by this site ;-)