Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem Revision 0.1.0.2
- rem Program Made by zharry from Pastebin
- rem Command Line Made by zharry with assistance jackyliao123 from Pastebin
- rem This program is licensed under the Creative Commons BY-SA
- rem These four rem lines must be given as a part of the license
- rem Dear TPL staff, as hard as you have tried to prevent me from:
- rem 1. Having to login/logoff every 15 minutes on express computers
- rem 2. Renewing my time even after I use my library card number
- rem 3. Opening a command prompt to use the programs I normally do
- rem I found just my way around it.
- rem This is in no way an infringement, and is only intended to provide
- rem the right of Freedom and ease of use.
- @echo off
- title Unlimited Compter Time @ TPL
- cls
- taskkill /F /IM TimeoutClient.exe 2>nul 1>nul && echo Program 1 Stopped || echo Failed
- taskkill /F /IM TimeoutClientMon.exe 2>nul 1>nul && echo Program 2 Stopped || echo Failed
- echo shutdown -l > logout.bat
- echo If either lines above display "Failed"
- echo then this program does not work on this computer
- echo If the programs were stopped, run logout.bat to Logout/Logoff.
- echo Press any key to open a command prompt...
- pause >nul
- cls
- title Command Prompt
- ver > sysver.txt
- find sysver.txt "Microsoft" | find "Microsoft"
- del sysver.txt
- echo (c) 2013 Microsoft Coporation. All rights reserved.
- echo.
- :start
- set /p command="%cd%>"
- %command%
- if "%command%"=="" (
- goto start
- ) else (
- echo.
- )
- set command=
- goto start
- rem Update 0.1.0.2 release notes: Jan. 1, 2016
- rem + Renamed Logoff to Logout to match original Library Program
- rem Update 0.1.0.1 release notes: Jan. 1, 2016
- rem + Added logoff functionality
- rem + Fixed spelling mistake in file name
Add Comment
Please, Sign In to add comment