Somebody is good at batch programming?

Discussion in 'General Programming Chat' started by Tanckom, Jul 13, 2014.

  1. Tanckom

    Tanckom Power Member

    Joined:
    May 4, 2014
    Messages:
    583
    Likes Received:
    175
    Location:
    ☯ Karma ☯
    Home Page:
    I need somebody who is good at batch programming, i have several problems with it :
    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.
     
  2. nipester

    nipester Regular Member

    Joined:
    Feb 1, 2009
    Messages:
    262
    Likes Received:
    28
    Why does it have to be in batch, why not another language like VB?
     
  3. macdonjo3

    macdonjo3 Jr. VIP Jr. VIP

    Joined:
    Nov 8, 2009
    Messages:
    5,786
    Likes Received:
    4,467
    Location:
    Toronto
    The only thing I've ever seen written in batch is viruses lol. Why not just write it in something that is commonly published in exe?