unexpected EXTENDED_OS_ERROR on Windows
From: Griff (griffph_at_aol.com)
Date: 08/31/04
- Next message: R McGlue: "carp() / STDERR"
- Previous message: Tore Aursand: "Re: Split and RegEx Help"
- Next in thread: Tore Aursand: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Reply: Tore Aursand: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Reply: Paul Lalli: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Reply: Brian McCauley: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Reply: Joe Smith: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Aug 2004 03:45:42 -0700
hi there
I'm running ActiveState Perl v5.6.1 on Windows XP.
The code
$cmdstr = "copy old.txt new.txt";
system($cmdstr);
print "$^E";
produces the results
------------------------------------------
1 file(s) copied.
The system cannot find the file specified.
------------------------------------------
When I check the files old.txt and new.txt, the file copy has actually worked.
Why do I get this error message in EXTENDED_OS_ERROR ?
(If I print the "$^E" variable before running the program, I can see it is empty.)
Your assistance would be welcomed.
Thanks, Griff
- Next message: R McGlue: "carp() / STDERR"
- Previous message: Tore Aursand: "Re: Split and RegEx Help"
- Next in thread: Tore Aursand: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Reply: Tore Aursand: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Reply: Paul Lalli: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Reply: Brian McCauley: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Reply: Joe Smith: "Re: unexpected EXTENDED_OS_ERROR on Windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|