replace backslash by forward slash in a string containing a windows path
Brought to you by:
soepy
a text file contains a string like this:
"C:\Program Files/Hewlett-Packard/Operations Orchestration" (actually the original string before substitution is like this ""%ProgramFiles%/Hewlett-Packard/Operations Orchestration"")
I'm trying to replace the "\" with a "/" using the following cmd:
fart.exe %ootkdir%\temp.txt "\" "/"
which doesn't work :-(
All help hihgly appreciated!
You'll need two backslashes, because of the way cmd works.
On Tue, Jul 26, 2016 at 11:13 PM, Marc Smet msmet@users.sf.net wrote:
--
L.
Related
Support Requests: #8
Hi i have same question but not work
i create file list with dir command and i get
C:\Folder\Folder2\Folder3\File.txt
so i want all \ convert to / how can do this?
i try with \ / and "\" "/" but not working. Can you please write syntax.