Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

objShell.Run Syntax...

$
0
0

How would I place the quotes (single, double, triple) within the following statement?

objShell.Run "cmd.exe /c """ & "start """installer""" & "/b /high /wait" & "msiexec /x " & {application_uninstall_string} & " /l*v """ &"%temp%\logfile.log""" & " /norestart /qb-!"

As you can see, it is an attempt to run the following command:

start "installer" /b /high /wait msiexec /x "{application_uninstall_string}" /l*v "%temp%\logfile.log" /norestart /qb-!

It seems that no matter how I try to arrange the quotes, it always fails. Thanx.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>