Hi Marcus,
I remember telling you that saving scripts in a temp directory (playing an exe) was not good. Now it hunted me. :)
I have an exe, but I accidentally erased the script source. Can it be somehow restored from an exe? I actually wanted to share here much of that code, but what I've got left from the latest saved versions, contains some mistakes that in that latest source were fixed.
Thank you,
Olga.
Is it possible to restore a script from an exe?
Moderators: Dorian (MJT support), JRL
Olga,
It might be possible to figure out the logic of the executable if you did not disable the logfile capability at the time you compiled.
Execute the script from Start > Run or from a DOS prompt by typing the path and filename followed by /LOGFILE=c:\logfile.log
eg. C:\myfile.exe /LOGFILE=MyLogFile.txt
Reading the logfile could be helpful especially if you are the one who wrote the original script. The old incomplete version of the script could also assist you. Granted this is a difficult process with no guarantees.
Hope this is helpful,
Dick
It might be possible to figure out the logic of the executable if you did not disable the logfile capability at the time you compiled.
Execute the script from Start > Run or from a DOS prompt by typing the path and filename followed by /LOGFILE=c:\logfile.log
eg. C:\myfile.exe /LOGFILE=MyLogFile.txt
Reading the logfile could be helpful especially if you are the one who wrote the original script. The old incomplete version of the script could also assist you. Granted this is a difficult process with no guarantees.
Hope this is helpful,
Dick
it can be done
If you search the forum you will see that Marcus says he can, But, and I mean But, He Says only if you can prove you are the author and still only in extreme situations.
Aaron