in reply to Re^2: replace / with \ using regular expressions?
in thread replace / with \ using regular expressions?
I would just point out that the Perl functions on Windows don't care about / vs \. If you calling a Perl function leave it in a/b/xyz format. Of course a command to the Windows shell is different.