note 45158 added to function.copy
| From: | AdnanSiddiqi at osu1 dot php dot net | Date: | Fri, 27 Aug 2004 16:50:39 +0000 |
| Subject: | note 45158 added to function.copy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-75443@lists.php.net to get a copy of this message | ||
Another easier Way to copy dir/folders for <a href="http://www.ntsearch.com/search.php?q=Windows&v=56">Windows</a>
based machines
<?
$source_dir="d:\\source";
$dest_dir="c:\\source";
$str=exec("xcopy $source_dir $dest_dir /i/s",$a,$a1);
?>
-adnan
----
Manual Page -- http://www.php.net/manual/en/function.copy.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45158
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45158&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45158&report=yes
Search -- http://master.php.net/manage/user-notes.php