Tanckom
Power Member
- May 4, 2014
- 593
- 172
I need somebody who is good at batch programming, i have several problems with it :
[TD="class: votecell"][/TD]
[TD="class: postcell"] So, i want to create a licensing system for with a batch file, because all the licensing system cost around 100-1200+ bucks. What the batch should do? When you start the batch, the cmd should open, there you insert the key, if the key is right, it should automatically unzip a .rar or an sfx(.exe) file with password! After that, I'll compile the .bat to .exe to secure it. This is what i got so far( of course not wokring):
@echo off
:choice
set /P c=Insert Key
if /I "%c%" EQU "123" goto :yes else goto :no
if /I "%c%" EQU "321" goto :yes else goto :no
if /I "%c%" EQU "132" goto :yes else goto :no
:yes
msg * well done
pause
exit
:no
exit
If it could be possible, that when the code has been used once, or 2 times, it should be deleted.
[/TD]
[TD="class: votecell"][/TD]
[TD="class: postcell"] So, i want to create a licensing system for with a batch file, because all the licensing system cost around 100-1200+ bucks. What the batch should do? When you start the batch, the cmd should open, there you insert the key, if the key is right, it should automatically unzip a .rar or an sfx(.exe) file with password! After that, I'll compile the .bat to .exe to secure it. This is what i got so far( of course not wokring):
@echo off
:choice
set /P c=Insert Key
if /I "%c%" EQU "123" goto :yes else goto :no
if /I "%c%" EQU "321" goto :yes else goto :no
if /I "%c%" EQU "132" goto :yes else goto :no
:yes
msg * well done
pause
exit
:no
exit
If it could be possible, that when the code has been used once, or 2 times, it should be deleted.
[/TD]