Run EXE from embedded VB
I have CA in Wise package to run exe from embedded Vbscript, but it does not call the exe file.
The path is: C:\ AD Clearner\_MainCleaner\cleaner.exe. With a space between AD & clearner
I have the below script:
sExec=Session.Property("CLEARNERDIR") & "clearner.exe"
Set oShell = CreateObject("WScript.Shell")
Return = oShell.Run (sExec, 1, True)
if i add msgbox sExec i get the right path.
Any idea as why the
clearner.exe does not get called.