Lock any File/Folder in Windos without any Sofware

Hello folks hiiii.... Hope you are doing well.... In this post I am gonna share a simple trick in which you can lock any file or folder so that no once can access it without permission. Its very simple common. just follow the steps....

1)- Open command prompt if you don't know how to open command promtp then simple(win+R then type cmd).

2)- Now goto the directory of the file in which that file/folder is located using cd command.

3)- Now type the main following command......

                    cacls fileName /e /p everyone:N

                                            or

                    cacls folderName /e /p everyone:N


4)- The above command is for locking the file and folder but now how to open the file or folder when you want to open it? Answer is simple .... follow the step 1 and 2 and change the common in step 3.


3)- Now type the main following command to unlock the file and folder......

                   cacls fileName /e /p everyone:F

                                            or

                   cacls folderName /e /p everyone:F


If you like the post then please share and you can me any topic on which should I write. Thanks


t

Comments

Popular posts from this blog

Simplest way to download YouTube Vides for free

Hack Your Friend's Mouse....

The Computer Units