dongsui3297 2017-01-25 12:02
浏览 122
已采纳

将文件夹从一个本地磁盘移动到另一个

To move folder "aze" to folder "log" and rename it "qsd" in the same local disk, I used :

rename("rename/aze", "D:/log/qsd");

But When I try to move to "C:/test/uploads/qsd" It doesn't work :

rename("rename/aze", "C:/test/uploads/qsd");

My server is in "D" disk.

  • 写回答

1条回答 默认 最新

  • douchen1988 2017-01-27 08:42
    关注

    It looks like it's not possible, so I copy the folder in the destination path and then, delete it in the source path.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?