Answer the question
In order to leave comments, you need to log in
How to correctly place quotes in VBS?
There is a line of vbs code with variables, looks like this
WshShell.Run "CMD.EXE /C """ & SetupLocation & "\" & Setup & """ " & SetupOptions, 0, True
SetupLocation
, Setup
, SetupOptions
are variables. CMD.EXE /min /C "set __COMPAT_LAYER=RUNASINVOKER && start " " C:\Windows\notepad.exe"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question