我想移动整个文件夹而不是子文件夹中的文件。我尝试了MOVE命令,但我只能移动文件。还有其他命令吗?
答案 0 :(得分:0)
假设你在Windows上:
您可能需要将文件夹的内容移动到另一个文件夹:
要移动一个或多个文件: 移动[/ Y | / -Y] [drive:] [path] filename1 [,...] destination
示例:
move c:\windows\temp\*.* c:\temp
将c:\ windows \ temp的文件移动到root中的temp目录,这当然是假设您拥有Windows \ temp目录。在此示例中,。是通配符,告诉计算机每个扩展名的文件。
来源:http://www.computerhope.com/movehlp.htm
或者,这个问题的答案可以帮助您:Command Prompt: Why do I get “cannot find the path specified” when I move a folder (with contents) from the desktop to a new directory?