lurikeen Posted March 16, 2009 Share Posted March 16, 2009 (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 March 16, 2009 by lurikeen Link to comment Share on other sites More sharing options...
Marc Posted March 16, 2009 Share Posted March 16, 2009 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. Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
lurikeen Posted March 16, 2009 Author Share Posted March 16, 2009 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now