NOTICE: There is ANOTHER version of this program which is better than THIS prototype made using DOS. The new program is made with C-programming language and is much easier to use. I made this new version for my class project. The program is now ready.
Have a look > CLICK THIS LINK<
Here is the batch file that I made. It controls login. It has a few bugs. I am too lazy to remove them. But this still serves as a good practice to start programming in DOS.
>> Click HERE to Download the batch program files in ZIP <<
{This file is uploaded on my PERSONAL Online Drive Storage, browser may say that its dangerous but it is just a false positive. }
.
ANY QUESTIONS? JUST ASK BELOW!
.
MORE ABOUT THIS>>>
It was designed to let the user LOG IN with a user account for 1 hour. After 1 hour, the computer would log off automatically ( and no, I didnt use the simple shutdown command only because people can deactivate it easily..my shutdown command works without any interval..u cant shut it down :P).
.
It HAS SOME BUG though... I realized it after testing it for a month. It was designed to let users use 1 hour in total...means they can use 5 min now...then 55 min later too...
.
bugs are:
1. If they use 5 min... again 5 min... then login again... the timer resets.. ( I can fix it...but too lazy...its a pretty long code).
.
2. The program was also designed to reset itself after each day. Means, after one day, it detects that the computer has not been used for a day... and lets user login.... this works fine for a month... when the next month arrives... it shows error on resetting... problem was... I put codes in DD/MM/YYYY format... computer uses the format MM/DD/YYY ... simple error caused the computer to think thet the dates were same for the next month
( I can fix this too...but I have also created a log file for this... that records all data of the program functioning... opening time..closing time... executing time... user tries to login after time out.. executed times ...error records...dates..etc etc..) ...so I am again too damn lazy to fix it
.
.
Maybe I'll make a new batch program later. If u want the source code, I can give u all files in a zip file. Beware while using it though. If u put it in the startup folder...u will suffer only 1 hr access
.
I originally made this program to control the computer time for my litte sister
.
.
btw. Other variants of this are also possible...
for example,
1. I am running a variant that requires me to make a .txt file with specific name... or my computer shuts down in 1 min.... only u will know this hidden password... so no one can access ur computer even if they can crack the password
.
or, the one I created in grade 9
2. " Chaabi.bat "... it makes your pendrive a "chaabi" ie. "key"... If u dont plug it in..u cant logi in to your PC
.
.
btw. All my programs are hidden with a wscript [.vbs] ... so that they run silently...stays hidden even from task manager
.
UPDATE: All these bugs have been fixed and the latest perfectly working version of this program is available here[CLICK THIS LINK]
Have a look > CLICK THIS LINK<
Here is the batch file that I made. It controls login. It has a few bugs. I am too lazy to remove them. But this still serves as a good practice to start programming in DOS.
>> Click HERE to Download the batch program files in ZIP <<
{This file is uploaded on my PERSONAL Online Drive Storage, browser may say that its dangerous but it is just a false positive. }
.
ANY QUESTIONS? JUST ASK BELOW!
MORE ABOUT THIS>>>
It was designed to let the user LOG IN with a user account for 1 hour. After 1 hour, the computer would log off automatically ( and no, I didnt use the simple shutdown command only because people can deactivate it easily..my shutdown command works without any interval..u cant shut it down :P).
.
It HAS SOME BUG though... I realized it after testing it for a month. It was designed to let users use 1 hour in total...means they can use 5 min now...then 55 min later too...
.
bugs are:
1. If they use 5 min... again 5 min... then login again... the timer resets.. ( I can fix it...but too lazy...its a pretty long code).
.
2. The program was also designed to reset itself after each day. Means, after one day, it detects that the computer has not been used for a day... and lets user login.... this works fine for a month... when the next month arrives... it shows error on resetting... problem was... I put codes in DD/MM/YYYY format... computer uses the format MM/DD/YYY ... simple error caused the computer to think thet the dates were same for the next month
( I can fix this too...but I have also created a log file for this... that records all data of the program functioning... opening time..closing time... executing time... user tries to login after time out.. executed times ...error records...dates..etc etc..) ...so I am again too damn lazy to fix it
.
.
Maybe I'll make a new batch program later. If u want the source code, I can give u all files in a zip file. Beware while using it though. If u put it in the startup folder...u will suffer only 1 hr access
.
I originally made this program to control the computer time for my litte sister
.
.
btw. Other variants of this are also possible...
for example,
1. I am running a variant that requires me to make a .txt file with specific name... or my computer shuts down in 1 min.... only u will know this hidden password... so no one can access ur computer even if they can crack the password
.
or, the one I created in grade 9
2. " Chaabi.bat "... it makes your pendrive a "chaabi" ie. "key"... If u dont plug it in..u cant logi in to your PC
.
.
btw. All my programs are hidden with a wscript [.vbs] ... so that they run silently...stays hidden even from task manager
.
UPDATE: All these bugs have been fixed and the latest perfectly working version of this program is available here[CLICK THIS LINK]