Hey Michael,         

My MUA believes you used Mutt/1.3.27i
to write the following on Tuesday, September 17, 2002 at 7:06:32 PM.

MK> In Perl, backslashes escape the character that follows them, just
MK> like in C. If you want a literal backslash, you need either "\\"
MK> or '\':

MK> system("command.com copy /C d:\\test\\input.ps e:\\test\\output.ps");

MK> or

MK> system('command.com copy /C d:\test\input.ps e:\test\output.ps');

MK> The latter example is probably perferable.

MK> But that still doesn't explain why it lists the file as "D:\TEST\INPUT.PS",
MK> which seems correct (I would expect it to say something like "D:        EST 
NPUT.PS".)
MK> But I've never messed with DOS, so I can't be sure.

Works just like you said...  I just tested using type instead of copy.
,----- [ output of running t.pl from the root of T: - it types it's self ]
| T:\>t.pl
| #!perl
| # This file is T:\t.pl
| use strict;
| use warnings;
| system("cmd /c type T:\\t.pl");
| system('cmd /c type T:\t.pl');
| 
| #!perl
| # This file is T:\t.pl
| use strict;
| use warnings;
| system("cmd /c type T:\\t.pl");
| system('cmd /c type T:\t.pl');
`-----

-- 
[EMAIL PROTECTED]
Flying with The Bat! eMail v1.61
Windows 2000 5.0.2195 (Service Pack 2)
I was the next door kid's imaginary friend.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to