如何在VBS中检查是否存在并创建以dot开头的文件夹?

时间:2019-03-17 17:25:47

标签: vbscript wsh

我必须检查是否存在以点开头的文件夹。 当我运行此脚本时,它在private void LogIn_FormClosing(object sender, FormClosingEventArgs e) { if (this.Tag != null) { // Button clicked } else { // other reasons // Dp not call Close here, you are already closing // if you don't set e.Cancel = true; } } 上返回False(但该文件夹已存在!)。然后,它在.FolderExists上返回Err.Number 53(是的,该文件夹已经存在!)。

如何处理以点开头的文件夹?

.CreateFolder

有人可以帮助我吗?

0 个答案:

没有答案