vbs to exe using PrimalScript 2018 +arguments

Support for all customers who have purchased a PrimalScript product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
n1mdas
Posts: 12
Joined: Thu Dec 28, 2017 2:05 pm

vbs to exe using PrimalScript 2018 +arguments

Post by n1mdas » Tue Jun 12, 2018 10:53 am

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: S3 Suite, 7.4.113
32 or 64 bit version of product: x64
Operating system: Windows 7 Pro x64 SP1
32 or 64 bit OS: x64

*** Please add details and screenshots as needed below. ***


Hello Sapien Support,

I have a vbs script that waits for arguments prior to collecting and or doing anything at all.

When compiling it using the cscript to exe and then when executing the compiled .exe file then it autocloses.

How to make it "wait for user input"? When executing the script like: cscript GetEvents.vbs /allevents /txt /csv /evtx /evt it works as expected.
Using pre commands or post commands seems doesn't do the trick.

Will I need to rewrite that application prior to converting?

Thanks,
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM