cmd - 如何在 Windows 7 : command line that have spaces in the name 中重命名文件夹

标签 cmd windows-7

关闭。这个问题是off-topic .它目前不接受答案。












想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。

8年前关闭。




Improve this question




如何在 Windows 7 下重命名包含空格的路径?

命令行:

rename c:\ho hum\new folder  ->  c:\ho_hum\new_folder

最佳答案

这只能通过移动文件夹并为目标设置新名称来完成:

move "c:\ho hum\new folder" "c:\ho hum\new_folder"
move "c:\ho hum" "c:\ho_hum"

关于cmd - 如何在 Windows 7 : command line that have spaces in the name 中重命名文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15974707/

相关文章:

windows - 无论锁定状态如何都写入锁定的文件

java - Camel 在行动中 codehaus.mojo 插件错误

windows-7 - 如何在 Windows 7 上安装 OpenGrok 以搜索 SVN 文件

c# - 更改 Windows 7 序列号

c - 来自 nmake : "no rule to make target ` *. rc'"

linux - 从 Windows 7 上的 Linux 虚拟框访问文件

Python "call()"函数不接受从 "abspath()"到文件的路径

java - 使用 CLI 将 pdf 文件与 PDFBox 合并

c++ - 在 Windows 8 上使用 MinGW 在 cmd 中编译 C++

linux - 无法在 Windows 7 中删除 Linux 生成的文件