If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
| Video Training Online Video Training, video training software, video editing training, total training video, microsoft training video, corporate training videos, ... |
![]() |
|
|||||||||||||||||||||||
|
Locking files without software!
Code:
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
2. Save it as batch file(with extension .bat).Any name will do. 3. Now you see a batch file. Double click it to create a folder locker. 4. A new folder named Locker would be formed at the same location. 5. Now brings all the files you want to hide in the locker folder. 6. Now double click the batch file to lock the folder namely Locker. 7. If you want to unlock your files,double click the batch file again and you would 8. be prompted for password.Enter the password and enjoy access to the folder. -- Enjoy! |
|||||||||||||||||||||||
![]() |
| Bookmarks |
| Tags |
| files, locking, software |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| John Bard, Vincent J. Kovarik - Software Defined Radio: The Software Communications Architecture | shooter | Programing Book | 0 | 03-29-2009 03:59 PM |
| Reengineering Software: How to Reuse Programming to Build New, State-of-the-Art Software | FED | Programing Book | 0 | 01-21-2009 01:54 PM |
| The Software Project Manager's Bridge to Agility (The Agile Software Development Series) | FED | Technical Book | 0 | 06-15-2008 06:41 AM |
| Professional Software Testing with Visual Studio 2005 Team System: Tools for Software Developers and Test Engineers | FED | Programing Book | 3 | 11-15-2007 02:42 AM |
| Building Software: A Practitioner's Guide (Auerbach Series on Applied Software Engineering) | FED | Programing Book | 0 | 10-19-2007 03:56 PM |