File not found when using objshell.run — vbscript

前端 未结 1 677
不知归路
不知归路 2021-01-23 06:59

When i try to run the script it throws up error that the file does not exist.. On the script it does echos file exists though. Have tried with objshell.run \"\"\"apppath\"\"\"

相关标签:
1条回答
  • 2021-01-23 07:14

    Apppath contains spaces. Try surrounding it in quotes.

    objshell.run vbQuote & apppath & vbQuote
    
    0 讨论(0)
提交回复
热议问题