MS-DOS

Moderators: blip
Number of threads: 389
Number of posts: 904

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Dos Batch Files Posted by Hworker2 on 5 Apr 2003 at 9:06 PM
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.
Report
Re: Dos Batch Files Posted by Bitdog on 8 Apr 2003 at 10:44 PM
: 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.


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


Report
Re: Dos Batch Files Posted by Hworker2 on 9 Apr 2003 at 9:43 PM
: : 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.
:
:
: 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
:

:
:

Report
Re: Dos Batch Files Posted by Hworker2 on 9 Apr 2003 at 9:45 PM
: : : 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.
: :
: :
: : 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
: :

: :
: :
:
: 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.

Report
Re: Dos Batch Files Posted by Bitdog on 10 Apr 2003 at 12:35 AM
How do I write a batch file to read the system file
and then delete a program when the machine boots up.

TDEL.COM Time Date ErrorLevel .COM
http://bitdog.home.att.net/temp/tdel.com
The link allows Save or open, choose SAVE.
It's already been updated/bugfixed, get the latest version.
Test it first using ECHO or REN instead of DEL.
If you find a flaw, let me know.
Bitdog





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.