Adding Additional files
-
- Posts: 2
- Joined: Mon Mar 31, 2008 4:51 pm
Adding Additional files
How is the "Embedded Files" feature intended to work? If I embed a file that is used by my script, the file cannot be found when the compiled executable runs.
-
- Site Admin
- Posts: 476
- Joined: Fri Feb 13, 2004 1:05 pm
-
- Posts: 1
- Joined: Thu Feb 19, 2009 4:58 pm
Extract embedded files before script OPTION
Hello,
Extract embedded files before script execution dont work.
I am trying to extract 2 exe files to apptdata. My script execute this exe with parameters, but it is not working because dont extract exe to appdata.
Why?
Help please
Extract embedded files before script execution dont work.
I am trying to extract 2 exe files to apptdata. My script execute this exe with parameters, but it is not working because dont extract exe to appdata.
Why?
Help please
-
- Site Admin
- Posts: 476
- Joined: Fri Feb 13, 2004 1:05 pm
How you call extracted files? You should specify full path, so if you select APPDATA then you need a function that return full-qualifyed file name.
For example, this fulction will show path to APPDATA:
dim filesys, f
Set filesys = CreateObject("Scripting.FileSystemObject")
Set f = filesys.GetSpecialFolder(2)
wscript.echo f
For example, this fulction will show path to APPDATA:
dim filesys, f
Set filesys = CreateObject("Scripting.FileSystemObject")
Set f = filesys.GetSpecialFolder(2)
wscript.echo f