Re: note 89489 rejected and deleted from function.rmdir by notes editor danbrown
| From: | Dawit Abraham | Date: | Tue, 10 Mar 2009 20:00:28 +0000 |
| Subject: | Re: note 89489 rejected and deleted from function.rmdir by notes editor danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151706@lists.php.net to get a copy of this message | ||
And what is your reason?
This was in response to a previous poster who suggested exec( "rd /s $dir"
) to recursively delete a folder in windows. I was just merely pointing out
that the \q flag need to be specified. Otherwise the script will hang
waiting for confirmation.
On Tue, Mar 10, 2009 at 9:40 PM, <php-notes@lists.php.net> wrote:
> You are receiving this email because your note posted
> to the online PHP manual has been removed by one of the editors.
>
> Read the following paragraphs carefully, because they contain
> pointers to resources better suited for requesting support or
> reporting bugs, none of which are to be included in manual notes
> because there are mechanisms and groups in place to deal with
> those issues.
>
> The user contributed notes are not an appropriate place to
> ask questions, report bugs or suggest new features; please
> use the resources listed on <http://php.net/support>
> for those purposes. This was clearly stated in the page
> you used to submit your note, please carefully re-read
> those instructions before submitting future contributions.
>
> Bug submissions and feature requests should be entered at
> <http://bugs.php.net/>. For documentation errors use the
> bug system, and classify the bug as "Documentation problem".
> Support and ways to find answers to your questions can be found
> at <http://php.net/support>.
>
> Your note has been removed from the online manual.
>
> ----- Copy of your note below -----
>
> If you are going to use the "rd" command on windows, /q flag must be
> specified to supress Y/N confirmation.
>
> <?php exec( "rd /s /q $dir" ); ?>
>