BASH   98
mlock.bat
Guest on 12th February 2023 03:32:59 AM


  1. @echo off
  2. echo mLock will be copied to c:\Program Files
  3. echo If this folder does not exist then you must stop here.
  4. echo You must edit this batch file with notepad
  5. echo and change the two lines that mention "Program Files"
  6. echo so they point to the correct location.
  7. echo You can abort the batch file by closing the DOS window or pressing CTRL-C
  8. echo Is it OK to continue?
  9. pause
  10. echo *
  11. echo You can make a shortcut to "c:\Program Files\mLock.exe" to your desktop so you can run the program easily.
  12. @echo *
  13. @echo *
  14.  
  15. copy mLock.exe "c:\Program Files\mLock.exe"
  16. echo Windows Registry Editor Version 5.00 >mlock1.reg
  17.  
  18. echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >>mlock1.reg
  19. echo "mLock"="c:\\Program Files\\mLock.exe" >>mlock1.reg
  20.  
  21. regedit mlock1.reg

Raw Paste

Login or Register to edit or fork this paste. It's free.