good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Output redirection problem in Windows ActivePerlby Corion (Patriarch) |
on Sep 20, 2010 at 12:15 UTC ( [id://860826]=note: print w/replies, xml ) | Need Help?? |
Backslashes in double quotes behave differently from backslashes in single quotes. Your \t in c:\temp gets interpreted as tab character in double quoted strings. See perlop. The solution is to check the command you're about to execute:
In the short run, doubling all backslashes will do what you want:
In Section
Seekers of Perl Wisdom
|
|