Simpatie.ro - matrimoniale
lisp2arx
Visual Programming for AutoLisp Mathématiques en programmation Lisp.. doc2cpp,doc2lsp, sld2lsp, bmp2dcl, free__GifCcapture for all-CAD'platforms..
Nu sunteti logat.
Lista Forumurilor Pe Tematici
Nou pe simpatie:
Ioanacatalina la Simpatie.ro
Femeie
25 ani
Salaj
cauta Barbat
25 - 61 ani
lisp2arxReguliInregistrareLoginPoze
lisp2arx / Batasm L coynd.com / ResetNTFSPermissions CACLS  
Autor
Mesaj 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