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

cryptor and Temp folder

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



Joined: 24 Dec 2008
Posts: 1

PostPosted: Wed Dec 24, 2008 4:31 pm    Post subject: cryptor and Temp folder Reply with quote

i embeded 4 files that should be extracted to C:\windows\temp\
the vbs script goes there and tries the program that should be in there however the exe does not place it in there it works if i manually place it there otherwise the operation fails why is the exe not placing it there when i clearly have it set to in the embeded files?
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 376

PostPosted: Mon Dec 29, 2008 10:33 pm    Post subject: Reply with quote

Please note that each user have different TEMP folders.
c:\Documents and Settings\Username\Local settings\Temp
Back to top
Captain.Chaos



Joined: 14 Mar 2009
Posts: 10

PostPosted: Sat Mar 14, 2009 9:22 pm    Post subject: Reply with quote

The problem that I have is that I've got thirty or forty users all with different usernames and I need to copy the embedded files in to different locations. The %temp% variable doesn't work in VBS & I can't find anyway of specifying the exactly where the files are extracted to so that I can copy them into the correct location that works with lots of different users and both in XP & Vista. Is there a possibility of a fourth option to specify an absolute path for the embedded file extraction?
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 376

PostPosted: Mon Mar 16, 2009 11:07 pm    Post subject: Reply with quote

You can get the TEMP folder location:

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