Call perl script from vbscript

rajeshkumar created the topic: Call perl script from vbscript

Call perl script from vbscript

Set oShell = CreateObject("WScript.Shell")
sProgDir = "C:\Program Files\My Programs\perl\"
sArgs = "-i"
sExec = """" & sProgDir & "myperl.pl" & """"
sCmd = sExec & " " & sArgs
oShell.Run(sCmd)

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x