Frog_1337
asked on
vbscript
I need to run the following command from a VBscript. I keep getting errors when I try the cmd /k method or the oshell.exec method
D:\Program Files\HP\HP BTO Software\bin>opcmsg.exe severity=normal application=test object=test msg_text="this is a test"
D:\Program Files\HP\HP BTO Software\bin>opcmsg.exe severity=normal application=test object=test msg_text="this is a test"
ASKER
I keep getting the expected end of statement error.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
oWS.Run "D:\Program Files\HP\HP BTO Software\bin>opcmsg.exe severity=normal application=test object=test msg_text="""this is a test"""
HTH,
exx