in reply to Renaming file without forward slash

You have to double up the '\'s as they are escape characters even in single quote strings. So write 'C:\\duty\\tasks\\checks'. Also have a look at using File::Spec and File::Basename (to pinch dirving's good suggestion;)

  • Comment on Re: Renaming file without forward slash