Unzip file error when running VBS script from a batch in Windows 10

后端 未结 2 1137
没有蜡笔的小新
没有蜡笔的小新 2021-01-16 14:30

When running the VBS unzip code batch in Win 10, I\'m getting the error below. What can be a reason for this, given it was reported working before by others? Changing target

2条回答
  •  失恋的感觉
    2021-01-16 15:21

    This batch hybrid is based on the VBS script suggested here by Noodles. It does file unzipping job fairly well, while having the advantage of not requiring a standalone VBS file compare to the original batch, or abandoning the batch script completely in favor of VBS. It does require a target directory for unzipped files to exist.

    
    
    

    The VBS method seems to have issues with symlinks or locating a current folder path, if you moved the user Downloads folder from its default location. Use absolute paths in cscript arguments in this case instead of environmental variables.

提交回复
热议问题