Permission denied on CopyFile in VBS

后端 未结 7 1328
無奈伤痛
無奈伤痛 2020-11-30 11:08

I\'m trying to automate pushing a file into my users\' home directories, but am stuck on a \"Permission Denied\" error — is thrown on line 6 here, with the CopyFile call.

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 11:38

    It's worth checking task manager for any stray wscript.exe tasks that are stuck. It could be one of those that's blocking access to the file.

提交回复
热议问题