On 11-06-27 08:29 AM, Irfan Sayed wrote:
even i tried windows del command
but it prompts for confirmation to delete the files
do u know how to suppress these prompts ? i did not find any switch which
allows you to suppress
It sounds like some of the files or directories have their read-only bit
set.
What is the output of this:
use File::Path;
my $errors = [];
rmtree( $dir, { error => \$errors });
print "$_\n" for @$errors;
BTW, I do believe the correct Windows command is: del /s
--
Just my 0.00000002 million dollars worth,
Shawn
Confusion is the first step of understanding.
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/