Sign in to follow this  
Followers 0
lurikeen

Bundling things into my complied script

3 posts in this topic

#1 ·  Posted (edited)

I was wondering if there was a way to do this? I'm interested in including an exe I am going to call later via _RunDOS.

Might as well kill 2 birds with 1 stone: Is there a way I can utilize a file, such as file.trash (in a separate folder), as an exe without actually renaming it? This would be in _RunDOS or shellExecute.

Edited by lurikeen

Share this post


Link to post
Share on other sites



Including files is easy, take a look at the "FileInstall" command in the help file.

FileInstall ( "source", "dest" [, flag] )

The mentioned file will be included into your exe file when you compile your script and is automatically expanded at runtime.

Starting some file which has no .exe/.com/.bat extension as an executable program without renaming it is not possible, AFAIK.


It's my job to comfort the disturbed and to disturb the comfortable.

Share this post


Link to post
Share on other sites

Including files is easy, take a look at the "FileInstall" command in the help file.

FileInstall ( "source", "dest" [, flag] )

The mentioned file will be included into your exe file when you compile your script and is automatically expanded at runtime.

Starting some file which has no .exe/.com/.bat extension as an executable program without renaming it is not possible, AFAIK.

Awesome, thanks! That is exactly what I needed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0