| View previous topic :: View next topic |
| Author |
Message |
Stonecrop
Joined: 31 Mar 2008 Posts: 2
|
Posted: Thu Apr 03, 2008 11:55 am Post subject: 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. |
|
| Back to top |
|
 |
|
|
support Site Admin
Joined: 13 Feb 2004 Posts: 299
|
Posted: Fri Apr 04, 2008 4:33 pm Post subject: |
|
|
You can select the output forlder for embedded files during compilation:
- TEMP folder
- APPDATA folder
- current folder |
|
| Back to top |
|
 |
feneque
Joined: 19 Feb 2009 Posts: 1
|
Posted: Thu Feb 19, 2009 5:07 pm Post subject: 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 |
|
| Back to top |
|
 |
support Site Admin
Joined: 13 Feb 2004 Posts: 299
|
Posted: Fri Feb 27, 2009 6:10 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|