----- Original Message ----- 
From: "Chris Wagner" <[EMAIL PROTECTED]>
To: "'perl-win32-users'" <[email protected]>
Sent: Wednesday, September 07, 2005 4:54 PM
Subject: Re: system("rmdir...") not working like it once did


> Another execellent example of why u should use explicit path names to
> commands in system() calls..........
>

I don't see how that would have helped.
If I understand you correctly the script would then have been:

use warnings;
if(system("rmdir /S /Q D:\\math-mpfr\\build58\\cpan\\Math-MPFR-1.07\\t"))
{die "Failure"}

The result would have been:

rmdir: `/S': No such file or directory
rmdir: `/Q': No such file or directory
rmdir: `D:\\math-mpfr\\build58\\cpan\\Math-MPFR-1.07\\t': Directory not
empty
Failure at try.pl line 3.

And I still would have asked the same dumb questions.

Also, please don't top post. It makes the post harder to comprehend and, for
those of us that care about trimming and retention of context, it only makes
the task more difficult. (Retention of context has, in this instance, been
totally sacrificed :-)

Cheers,
Rob

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to