VBS2Exe command-line parameters

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION 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.
This topic is 17 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
JasonWMcB
Posts: 8
Last visit: Thu Mar 14, 2024 9:54 am

VBS2Exe command-line parameters

Post by JasonWMcB »

Can we get a list of the available command line parameters for the vbs2exe.exe script compiler?
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

VBS2Exe command-line parameters

Post by Alexander Riedel »

Run it from the command line with vbs2exe /?

Usage: vbs2exe -s<script> species a script file to pack -o<outputname> specifies the name of the output file -d<datafile> specifies a datafile to pack -c<com object> specifies a COM object to pack -i<iconfile> specifies an icon to use instead of the default icon. -x Use CScript.exe instead of WScript.exe -l Leave data files -f Use current folder instead of temp folder -? Displays this screen

Note that VBS2Exe will not run if PrimalScript is not running.alexr@sapien.com2006-11-29 14:20:52
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
JasonWMcB
Posts: 8
Last visit: Thu Mar 14, 2024 9:54 am

VBS2Exe command-line parameters

Post by JasonWMcB »

Thanks. I did try the /? before asking in the forum and it did not work.

What I learned was the command is "-?" and not "/?"
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

VBS2Exe command-line parameters

Post by Alexander Riedel »

Yeah, sorry, you are right. Although launching it without any parameter gets the same output :-)
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
donj
Posts: 416
Last visit: Thu May 29, 2008 5:08 am

VBS2Exe command-line parameters

Post by donj »

This topic is 17 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.