Abyssmedia.com Forum Index Abyssmedia.com
Abyssmedia Support Forums
 
  FAQ    Search    Memberlist    Usergroups   Register 
  Profile    Log in to check your private messages    Log in 

Adding Additional files

 
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> ScriptCryptor
View previous topic :: View next topic  
Author Message
Stonecrop



Joined: 31 Mar 2008
Posts: 2

PostPosted: Thu Apr 03, 2008 11:55 am    Post subject: Adding Additional files Reply with quote

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: 376

PostPosted: Fri Apr 04, 2008 4:33 pm    Post subject: Reply with quote

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

PostPosted: Thu Feb 19, 2009 5:07 pm    Post subject: Extract embedded files before script OPTION Reply with quote

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: 376

PostPosted: Fri Feb 27, 2009 6:10 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> ScriptCryptor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2011 phpBB Group