Keep Sharing

Rights Modifier By KVC

Rights modifier by kvc, is a Simple batch program. That will help you in managing access properties of the files or folders in your computer. Here’s given an image of the preview.

Rights Modifier By KVC

Sometimes due to some problem or Unwanted event, you lose your access over the files. And when you try to open or move those files, windows simply say that “You don’t have access to this file” or “Access Denied”.

Can’t Open My Text File

In those cases, When you can’t use your own data, you can use this amazing Batch program. This simple and short 2 KB’s of Batch program will make your life very easy.

Just double click on it, and respond accurately to the information asked to you, that’s all. You’ll successfully get your access back. In some cases when it is not working, try running the program as Administrator. And then problem will run out of your window.

Username list

Rights Modifier BY KVC

Copy and Save the Code below as ‘Rights Modifier.bat’ OR you can download the Batch File from  the link given below at the Bottom of this Post…

Completing Actions
:: For this program to be More effective....Run it as Administrator...
:: Note => The line after Double Quotes is a Comment and have no effect on the working of this program...
:: Program Name : Rights Modifier by Kvc 
:: Version : 1.0
:: Date Created : 26.5.2014 , 11:23 pm [monday]
:: Created by : Karanveer chouhan 
:: Contact : [email protected] or [email protected]
::Before using this program...Here's Really Serious WARNING FOR YOU :-
:: 1. Don't Lock Important Folders , such as Windows folders...that may contain info. about OS ..because if 
:: you do so...next time windows will not boot....
:: 2. Don't Use this Program for breaking into someone's Privacy...Only you will be responsible for that...
:: 3. Education purpose program only....

@echo off

cls

Title Rights Modifiers by Kvc... Ver. 1.0
echo.&echo.
set a=1
if [%1] equ [] (goto top)
set fpath=%~1 (goto check)

:top
Set /p "fpath=Enter Folder/File path or just Drag it here : "
if not defined fpath (goto top)

:check
REM Removing surrounding Quotes of user-input
set fpath=%fpath:"=%

REM checking Availability of file/folder...
if not exist "%fpath%" (goto error1)
goto menu

:menu
cls
echo.
echo. Target Folder/File : "%fpath%"
echo.
echo. Menu Options !!!
echo.
echo. {options} {Key to press}
echo.
echo. 1. Make Read only [R]
echo. 2. Make Write only [W]
echo. 3. Allow Changing Content [C]
echo. 4. Make Full Control [F]
echo. 5. Remove Full Control ^(Deny^) [N]
echo.
echo.
choice /n /c "rwcfn" /m "Press Specified Key : "
goto %errorlevel%

:1
set access=R
goto user

:2
set access=W
goto user

:3
set access=C
goto user

:4
set access=F
goto user

:5
set access=N
goto user

:user
cls
echo. Total Users on This Computer !!
echo.
echo. --------------------------------------------------------------------------
setlocal enabledelayedexpansion
set a=1
for /f "tokens=*" %%a in ('dir "%systemdrive%\users" /b') do (
echo. !a!. %%a
set /a a=!a!+1
)

echo. --------------------------------------------------------------------------
echo.&echo.

:get_user
set /p "user=Enter Any Username From List Above : "
if not defined user (goto get_user)
if not exist "%systemdrive%\users\%user%" (goto error2)
goto modify

:modify
cacls "%fpath%" /e /c /p "%user%":%access%
echo.
timeout /t "3" >nul
exit /b

:error1
echo.
echo. Invalid File/Folder Path ...Try Again !!
echo.
timeout /t "1">nul
Set fpath=
goto top

:error2
echo.
echo. Invalid Username or The User you Entered Don't Exist ...Try Again !!
echo.
timeout /t "1">nul
Set user=
goto get_user

:end
exit /b

Download Link

Also Read:  How to Remove Shortcut Virus?

Next Post

Previous Post

Leave a Reply

© 2019 TheBATeam

Theme by Anders Norén