Re: Can Run run a str? (VBS)

Home Forums Scripting General Scripting Can Run run a str? (VBS) Re: Can Run run a str? (VBS)


Lan
Member
#298594

Re: Can Run run a str? (VBS)

I think I have an answer;

strTest = “cmd /K C: && dir ”
strTest2 = ” && dir ”

Dim WshShell

Set WshShell = WScript.CreateObject (“WSCript.shell”)

WshShell.run strTest & strTest2[/CODE][CODE]
strTest = “cmd /K C: && dir “
strTest2 = ” && dir “

Dim WshShell

Set WshShell = WScript.CreateObject (“WSCript.shell”)

WshShell.run strTest & strTest2[/CODE]