搬迁$ HOME /.cf到Windows上的其他位置(为.cf指定自定义路径)



我的.cf文件夹位于网络映射驱动器U:.cf上。当我没有连接到公司网络时,我收到这个错误,因为驱动器不可用。我用的是Windows 7

FAILED Error read/writing config:  open U:.cfconfig.json: This operation is supported  only when you are connected to the server.

我也有问题的目标插件,因为我不是文件夹的所有者(只有读取和写入烫发)。

> cf save-target -f example
Error: symlink U:.cftargetsexample.config.json U:.cftargetscurrent: A required privilege is not held by the client.

如何移动.cf到本地驱动器?例如C:.cf

根据CF CLI的文档…

"新的CF_HOME环境变量允许您定位配置。Json文件。"

最新更新