Filehost.ro - gazduire fisiere
lisp2arx
Visual Programming for AutoLisp Mathématiques en programmation Lisp.. doc2cpp,doc2lsp, sld2lsp, bmp2dcl, free__GifCcapture for all-CAD'platforms..
Nou pe simpatie:
cristina25
Femeie
24 ani
Cluj
cauta Barbat
24 - 58 ani
lisp2arxReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
lisp2arx / Batasm L coynd.com /

ResetNTFSPermissions CACLS

Pagini: 1  
#1
admin
Administrator
Din: Bucharest
Postari: 523


Code:

@echo off
:a
sub=
if exist "%~1\nul" cd /d %1&set sub=/T
title ResetNTFSPermissions CACLS
echo This will REPLACE all the NTFS permissions to EVERYONE incuding all subfolders
echo (or run the command manually with /E to Edit ACL instead of replacing it)
echo ---
echo CACLS %1 %sub% /C /G Everyone:F
echo ---
CACLS %1 %sub% /C /G Everyone:F
shift
set g=hiren%1
if %g%==hiren goto e
goto a
:e
Pause

=D
This will clear SYSTEM/HIDDEN/READONLY attributes incuding all files/subfolders

Code:

title ResetAttribs
echo This will clear SYSTEM/HIDDEN/READONLY attributes incuding all files/subfolders
echo %1
echo.
set /p attansw=Continue? (y/n)
if /I not %attansw%'==y' exit
for /F "tokens=*" %%i in ('dir %1 /a /b /s') do (
echo %%i
ATTRIB -S -H -R "%%i"
)
pause



_______________________________________
http://www.puiubrat.3x.ro/lisp2arx/lisp ... O2UTM2.pdf

 
   
Pagini: 1  
Mergi la