in reply to Re: rename file name in directory and subdir
in thread rename file name in directory and subdir

Beware, \' is special in single quotes.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^3: rename file name in directory and subdir
by mtmcc (Hermit) on Aug 06, 2013 at 20:40 UTC
    Thank you choroba, well spotted. Reason #121 not to use windows!! That would make it 'C:\folder1\folder2\\'. Is that right?

    EDIT:People who use perl on windows must be that bit sharper, having to account for file separators also escaping special characters in perl code.

      I have been caught forgetting to double my backslashes in a Windows environment more times that I would wish to publicly recall.
        Thanks - it's nice to know I'm not alone!