Problem with self-decrypted executable

Dmitry Livscheets <[email protected]> 18 Nov 2002 15:54:12 -0000
Newsgroups gmane.comp.security.aris
Message-ID <[email protected]>

Hello!

I'm trying to create self-decrypted executable and I'm running into 
problem.

Here is my command: 
PGP --encrypt --sda c:\temp\testpgp\test.txt --passphrase mypassphrase --
output c:\myfolder\testpgp\test.exe --overwrite --force

When I run this command it generates self-decryped 
c:\myfolder\testpgp\test.exe

When I run c:\myfolder\testpgp\test.exe and tell into what folder decrypt 
it (example c:\myoutput\), output file is: 
c:\myoutput\temp\testpgp\test.txt (so it creates under c:\myoutput\ folder 
temp\testpgp\)

Question: 
Is there any way I can create self-decryped executable which will not 
store path to my original file when I ecrypted it.

In other words I need executable which will decrypt file as:
c:\myoutput\test.txt.


Thank you very much!
Dmitry Livscheets
Medica IT
[email protected]