in reply to how to prefix\insert back slash to string (windows) path in perl
Also note that very often this is not necessary. Most file access in Windows can use either / or \ as a directory seperator. Some shells, like Windows Explorer and cmd.exe, only accept \, but the Windows API accepts either.