gpt4 book ai didi

batch-file - 将整个文件夹及其所有内容 move 到另一个文件夹

转载 作者:行者123 更新时间:2023-12-02 11:41:31 25 4
gpt4 key购买 nike

只需要一个批处理脚本即可将一个文件夹及其所有内容 move 到另一个文件夹中。

本质上是这个

C:\Folder1 到 C:\Folder2\Folder 1

最佳答案

您可以使用Windows native 命令:

MOVE [/Y | /-Y] [drive:][path]dirname1 dirname2

您可以使用 move/?调用了解更多详情。

因此,在您的情况下,命令将是:

move C:\Folder1 C:\Folder2\

如果Folder2不存在,Folder1将被重命名为Folder2。

关于batch-file - 将整个文件夹及其所有内容 move 到另一个文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20616952/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com