简体   繁体   English

将文件夹移动到用户目录中的其他文件夹

[英]Moving a folder to a different folder in the user directory

I'm developing a Minecraft client and I need to make an installer, I'm trying to move the folder to (%appdata%.minecraft\\versions or C:\\Users\\USERNAME\\AppData\\Roaming.minecraft\\versions) but it always says incorrect syntax of the command, can anyone help me on this?我正在开发一个 Minecraft 客户端,我需要制作一个安装程序,我试图将文件夹移动到 (%appdata%.minecraft\\versions 或 C:\\Users\\USERNAME\\AppData\\Roaming.minecraft\\versions) 但它总是说命令的语法不正确,有人可以帮我吗?

Code:代码:

move ./PolarClient %appdata%\.minecraft\versions
pause

-Compo solved it.- -Compo 解决了它。-

Whenever there is space in the pathname, use double quotes like below.只要路径名中有空格,请使用如下双引号。

move "./PolarClient %appdata%\.minecraft\versions"
pause

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM