[help]Do something on first start of the program

04/17/2015 13:54 KichDM#1
i currently coding a programm for my personal use to encrypt every file with a private string.i mostly done anythink i just need somethink with that the program just execute a command at the first start.

is there any way todo this ?


Thanks
04/17/2015 15:27 alpines#2
How about saving a file or writing into the registry if the first start of the program has been done? If so then don't run the command, if not - run it.
04/17/2015 19:33 KichDM#3
Quote:
Originally Posted by alpines View Post
How about saving a file or writing into the registry if the first start of the program has been done? If so then don't run the command, if not - run it.
i made it currently with a file were i set the attributes to super hidden

but is there any way to do it without external files or regkeys ?


Best Regards,

KichDM
04/17/2015 19:41 alpines#4
sure, append the data on the exe itself.
04/18/2015 14:36 KichDM#5
Quote:
Originally Posted by alpines View Post
sure, append the data on the exe itself.
i was thinking about EOF but how can i change EOF after i wrote it ?
04/19/2015 15:16 xinternet#6
Quote:
Originally Posted by KichDM View Post
i was thinking about EOF but how can i change EOF after i wrote it ?

why u want to change this?
if the program runned once, u dont need to edit it?