How to replace '\' with '\\' in a DOS string?


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]

Posted by Leo Poiesz on December 06, 2007 at 19:03:01:

MySQL needs to see 2 backslashes rather than 1 in a DOS path name. In other words, in a DOS batch file in Windows XP I need to convert 'C:\aaa\bbb\ccc\dd.exe' into 'C:\\aaa\\bbb\\ccc\\dd.exe'. Being a DOS newbie I don't know how. Thanks in advance.


Follow Ups:



Post a Followup (use TAB key to move between boxes - NOT ENTER or RETURN)

Name:
E-Mail:

Subject:

Type your comments in the box below and SUBMIT:


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]