Windows shell string operations (changing backslash to slash)

Posted by Matthias Hryniszak on Stack Overflow See other posts from Stack Overflow or by Matthias Hryniszak
Published on 2010-05-25T09:29:09Z Indexed on 2010/05/25 9:31 UTC
Read the original article Hit count: 196

Filed under:
|
|

Hi there,

I need to write a script that takes the current path (%~dp0), transforms backslashes into forward slashes and passes it further to some command.

Due to the environment I'm working in the only option that I have is windows shell (not Powershell where the issue would not a problem).

Is it even possible to do that?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about shell