Page 1 of 1

self deleting executable

Posted: Thu Oct 26, 2006 1:59 am
by danraymond
I want to make an executable so it deletes itself from disk after a specified number of runs (its a demo).

scenario:
1. exe runs say 50 times
2. end of 50th run exe deletes itself after throwing up "expired" message
3. counter is hidden internally in the exe not in registry etc.
any help??? please

Dan Raymond

Posted: Thu Oct 26, 2006 5:10 am
by Tranquil
Howdy ho!

Please use the search function before posting. You will find these results that meight help you:

http://www.purebasic.fr/english/viewtop ... unning+exe

http://www.purebasic.fr/english/viewtop ... unning+exe

There are more threads about this, but I think this is what you are searching for.

am i bad??

Posted: Thu Oct 26, 2006 8:34 am
by danraymond
did a search but missed the second post. thanks gave me what I needed

Dan Raymond