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

I am trying to Run a VBScript inside VBScript

$
0
0

I am trying to run this script inside of another Script But I keep getting errors on this

Dim objShellSet objShell = WScript.CreateObject("WScript.Shell")
objShell.Run "cmd /k cscript j:\prnmngr.vbs -ac -p "\\COL-FPS01\cae_adams""

the error I am getting is
Line 295
Char 17
Error: Expected end of Statment
Code: 800A0401
Source Microsoft VBScript Compilation Error

Which would be the 17th character of the first line here which is "o"


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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