Launch programs whose path contains spaces

后端 未结 8 1195
余生分开走
余生分开走 2020-11-28 08:32

I need to launch programs in my local system using VBScript. But I am having trouble with the syntax. This is what I am using right now -

Dim objShell
Set o         


        
8条回答
  •  死守一世寂寞
    2020-11-28 08:37

    What you're trying to achieve is simple, and the way you're going about it isn't. Try this (Works fine for me) and save the file as a batch from your text editor. Trust me, it's easier.

    start firefox.exe
    

提交回复
热议问题