The filename, directory name, or volume label syntax is incorrect.
aecra opened this issue · comments
Tian Jiale commented
如题,在执行如下命令时报错:
coscli sync -r G:/homework cos://backup/homework
报错信息:
open C:\Users\aecra/G:/homework/1.智能软件工程-概论.pptx: The filename, directory name, or volume label syntax is incorrect.
存储桶中已有该文件会报错,无文件时不报错。
其他报错信息:
open C:\Users\aecra/G:/workspace/aecraTools.js: The filename, directory name, or volume label syntax is incorrect.
而且报错信息还有问题 ……
Tian Jiale commented
查到问题了,这是不同操作系统文件系统不同导致的,竟然没考虑到Windows文件系统
Tian Jiale commented
已提交PR
Chloroplast commented
感谢您的PR,问题已经在新版本中修复。
已经看到了您的pr,目前的实现确实不太优雅,后续会根据您提到的IsAbs()重构这些代码。