in reply to Problem with file path structure in DOS

Your pattern needs the //g modifier so that it will replace all instances of /. Right now it stops after the first instance.