Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
alec1982
Specialist II
Specialist II

create external task on QMC (VB)

hi all,

I have a VB script stored on its own on one of my drives. I can simply double click on it to run. need to schedule it using QMC external task and add trigger on it. I have done many of those for exe and ps1 files but not vb.

the task is failing and I guess it is due to the command line statement being wrong..

"E:\Data\file.vbs"

any idea if I need to add any wording here?

1 Solution

Accepted Solutions
alec1982
Specialist II
Specialist II
Author

I am actually looking within the QMC outside of the apps.I found that I need to add wscript then wrap the command line statement with "".

View solution in original post

2 Replies
marcus_sommer

Try this:

SET vCSCRIPT = 'c:\windows\system32\cscript.exe';

EXECUTE $(vCSCRIPT) "D:\ReadAndWriteExcelSheets.vbs";

- Marcus

alec1982
Specialist II
Specialist II
Author

I am actually looking within the QMC outside of the apps.I found that I need to add wscript then wrap the command line statement with "".