in reply to Re^2: Create file in a specified directory
in thread Create file in a specified directory

I think backward slash is considered as escape sequence...... Anyway, the problem is resolved now. I didn't have the specified directory created.
It is considered as a escape sequence but only in a double quoted string, in signle quoted strings it is treated as a regular backslash character.
  • Comment on Re^3: Create file in a specified directory