Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
I am very much a newbie and would like to read the CD Label and apply it to password protected exe file.
Any replies try to keep it in simple steps please.
What I actualy have in mind is to protect a CD from casual copying by using the CD Label as an entry password for the exe file that contains the sensitive information.
My thoughts are that the casual copier will not notice the difference in a zero 0 and a leter O.
For instance SLIDESHOW and SLIDESH0W.
Thus when they make a copy, the password will be rejected.
Obviously Clone CD etc will overcome the protection but the casual copier will have a problem with a simple copy and will also not be able to run the exe file without the password.
Try this. Basically, it dumps the DIR command to a text file then AMS seaches the text file for your label. If it finds your label in the text file, it runs your program with the password. Otherwise, the user gets an error and the program exits. Note, if your end users will run this on a Win9x machine, you will need to create a PIF file called DirDump.pif that is configured to auto-exit. Include the file your package and copy it to %TempDir% before running DirDump.bat.
Since you are a self-proclaimed newbie, what you need to do is copy the text below and paste it into your actions list.
Very nice. the same thing could be done using the vol command from dos. It will return the cd volume and serial number without all the directory information. Like this:
<font color=purple>Volume in drive E is TheFrozenThrone
Volume Serial Number is D7I7-DEED</font color=purple>
You could then do the same search in line one to see if the name of the file matches.
Comment