I have a variable containing a path like this
And I want to turn it into something like
I tried like this
set SLASH=/ set HOME_MF=%SLASH%%HOME:\=/%
and a number of other ways, but the slash just doesn't appear
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
C:\> set ABC=a\b\c C:\> set DEF=/%ABC%
C:\> set SLASH=/ C:\> set GHI=%SLASH%%ABC:\=/%
on my Windows 7 system, and I got
You might get more help if you describe your system, what you want to happen,
what you are doing, and what is happening.
"the slash just doesn't appear" isn't very much to go on.