UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Absent Member.. Absent Member..
Absent Member..
632 views

Command line for the script file in Zcreate

please i need help

 

what is the command line to be added to the Zcreate to run VBS script file

0 Likes
2 Replies
Absent Member.
Absent Member.

Following is an example of ZCREATE command line to use to invoke a VBS:

NATIVE "&(ZWSYSDRV)&(ZWSYSDIR)cscript.exe" "&(ZMASTER.ZSYSDRV)&(ZMASTER.ZSYSDIR)sample.vbs"

Here &(ZWSYSDRV)&(ZWSYSDIR) would be substituted by the Windows System32 directory.

 

&(ZSYSDRV)&(ZSYSDIR) is the directory where HPCA Agent is installed, assuming this is where the VBS is available.

Absent Member.
Absent Member.

of course you can substiture wscript.exe for cscript if you don't want the dos window.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.