Dos Batch Files - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Dos Batch Files

Hworker2Hworker2 Posts: 3Member
I'm stuck! How do I write a batch file to read the system file and then delete a program when the machine boots up.
I have a program that I must delete on May 15 2003. I boot the machine daily and I have to delete the program or pay a high fee. I can test to the 15th then must delete it. Problem is I'm not the only one that uses the machine. If I'm on days off and it's booted by someone else then the program can be safely deleted and I don't have to worry about it.

Comments

  • BitdogBitdog Posts: 528Member
    : I'm stuck! How do I write a batch file to read the system file and then delete a program when the machine boots up.
    : I have a program that I must delete on May 15 2003. I boot the machine daily and I have to delete the program or pay a high fee. I can test to the 15th then must delete it. Problem is I'm not the only one that uses the machine. If I'm on days off and it's booted by someone else then the program can be safely deleted and I don't have to worry about it.

    [GREEN]
    Put a command in your autoexec.bat that sets the computers date
    to May 14th every time you boot. hahahahahahahaha
    It'll never know, the time is up.
    DATE 5/14/2003
    or something like that.
    Or you can test my new program TDEL.COM Time Date ErrorLevel .COM
    http://bitdog.home.att.net/temp/tdel.com
    It's fresh & hasn't been polished yet, so test it first, or
    wait a few days and an updated version will be in it's place.
    Your browser should give you the option to run or save,
    save and view/test later, test with ECHO instead of DEL,
    or use it to REN rename an extension and an executable won't run.
    It just runs any amount or kind of batch file commands
    when the current time/date is past the input time/date.
    The .asm source code will be available later in nasmenv.zip at
    http://bitdog.home.att.net
    Give me some feed back please,
    I don't need backpatting, but if you find a flaw, let me know.
    Bitdog
    [/GREEN]

  • Hworker2Hworker2 Posts: 3Member
    : : I'm stuck! How do I write a batch file to read the system file and then delete a program when the machine boots up.
    : : I have a program that I must delete on May 15 2003. I boot the machine daily and I have to delete the program or pay a high fee. I can test to the 15th then must delete it. Problem is I'm not the only one that uses the machine. If I'm on days off and it's booted by someone else then the program can be safely deleted and I don't have to worry about it.
    :
    : [GREEN]
    : Put a command in your autoexec.bat that sets the computers date
    : to May 14th every time you boot. hahahahahahahaha
    : It'll never know, the time is up.
    : DATE 5/14/2003
    : or something like that.
    : Or you can test my new program TDEL.COM Time Date ErrorLevel .COM
    : http://bitdog.home.att.net/temp/tdel.com
    : It's fresh & hasn't been polished yet, so test it first, or
    : wait a few days and an updated version will be in it's place.
    : Your browser should give you the option to run or save,
    : save and view/test later, test with ECHO instead of DEL,
    : or use it to REN rename an extension and an executable won't run.
    : It just runs any amount or kind of batch file commands
    : when the current time/date is past the input time/date.
    : The .asm source code will be available later in nasmenv.zip at
    : http://bitdog.home.att.net
    : Give me some feed back please,
    : I don't need backpatting, but if you find a flaw, let me know.
    : Bitdog
    : [/GREEN]
    :
    :

  • Hworker2Hworker2 Posts: 3Member
    : : : I'm stuck! How do I write a batch file to read the system file and then delete a program when the machine boots up.
    : : : I have a program that I must delete on May 15 2003. I boot the machine daily and I have to delete the program or pay a high fee. I can test to the 15th then must delete it. Problem is I'm not the only one that uses the machine. If I'm on days off and it's booted by someone else then the program can be safely deleted and I don't have to worry about it.
    : :
    : : [GREEN]
    : : Put a command in your autoexec.bat that sets the computers date
    : : to May 14th every time you boot. hahahahahahahaha
    : : It'll never know, the time is up.
    : : DATE 5/14/2003
    : : or something like that.
    : : Or you can test my new program TDEL.COM Time Date ErrorLevel .COM
    : : http://bitdog.home.att.net/temp/tdel.com
    : : It's fresh & hasn't been polished yet, so test it first, or
    : : wait a few days and an updated version will be in it's place.
    : : Your browser should give you the option to run or save,
    : : save and view/test later, test with ECHO instead of DEL,
    : : or use it to REN rename an extension and an executable won't run.
    : : It just runs any amount or kind of batch file commands
    : : when the current time/date is past the input time/date.
    : : The .asm source code will be available later in nasmenv.zip at
    : : http://bitdog.home.att.net
    : : Give me some feed back please,
    : : I don't need backpatting, but if you find a flaw, let me know.
    : : Bitdog
    : : [/GREEN]
    : :
    : :
    :
    : OK I'll try it. Please give me a few days or a week. I will get back to you on the tdel and if it works, Thanks..Hworker2.

  • BitdogBitdog Posts: 528Member
    How do I write a batch file to read the system file
    and then delete a program when the machine boots up.
    [GREEN]
    TDEL.COM Time Date ErrorLevel .COM
    http://bitdog.home.att.net/temp/tdel.com
    The link allows Save or open, choose SAVE.[GREEN]
    [RED]It's already been updated/bugfixed, get the latest version.[/RED]
    [GREEN]Test it first using ECHO or REN instead of DEL.
    If you find a flaw, let me know.
    Bitdog[/GREEN]

Sign In or Register to comment.