PDA

View Full Version : پوشه های قفل شده



REZADG
دوشنبه 15 شهریور 1389, 23:41 عصر
سلام دوستان
مدیر محترم خواهش میکنم اول تاپیک رو بخونید بعد من تمام تاپیک های زیر رو خوندم پس بی دلیل قفل نکنید
http://barnamenevis.org/forum/showthread.php?t=144756&highlight=%D9%82%D9%81%D9%84+%D9%BE%D9%88%D8%B4%D9 %87
http://barnamenevis.org/forum/showthread.php?t=244343&highlight=%D9%82%D9%81%D9%84+%D9%BE%D9%88%D8%B4%D9 %87
http://barnamenevis.org/forum/showthread.php?t=201286&highlight=%D9%82%D9%81%D9%84+%D9%BE%D9%88%D8%B4%D9 %87
http://barnamenevis.org/forum/showthread.php?t=201286&highlight=%D9%82%D9%81%D9%84+%D9%BE%D9%88%D8%B4%D9 %87
http://barnamenevis.org/forum/showthread.php?t=173827&highlight=%D9%82%D9%81%D9%84+%D9%BE%D9%88%D8%B4%D9 %87
ولی چیزی که میخوام رو پیدا نکردم
ولی چی می خوام من یه کدی میخوام که پوشه رو قفل کنه یعنی پوشه نه تغییر نام کنه نه پاک بشه و نه باز بشه توجه کنید کد های زیادی هستن ولی تو همشون پوشه باز میشه من میخوام باز نشه

REZADG
پنج شنبه 18 شهریور 1389, 05:10 صبح
کسی نظری نداره؟

shedayat
پنج شنبه 18 شهریور 1389, 17:49 عصر
سلام. با این دستور کاربردی داس می تونین این کار رو انجام بدین.

cacls Folder Path /d systemواسه ی غیرفعال کردنش هم:

Cacls c:\Folder Path /e /r System

Saman_12
پنج شنبه 18 شهریور 1389, 18:10 عصر
سلام. با این دستور کاربردی داس می تونین این کار رو انجام بدین.

cscls Folder Path /d systemواسه ی غیرفعال کردنش هم:

Cacls c:\Folder Path /e /r System

این دستور توی دستورات داس وجود نداره!!!(ویندوز من 7 شاید به خاطر این باشه.)

shedayat
جمعه 19 شهریور 1389, 02:18 صبح
ویرایش شد.

parselearn
جمعه 19 شهریور 1389, 16:46 عصر
واسه دستور ممنون
اما دستور غيرفعال كردن كار نميكنه



>Cacls /?
Displays or modifies access control lists (ACLs) of files

CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
[/P user:perm [...]] [/D user [...]]
filename Displays ACLs.
/T Changes ACLs of specified files in
the current directory and all subdirectories.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
/G user:perm Grant specified user access rights.
Perm can be: R Read
W Write
C Change (write)
F Full control
/R user Revoke specified user's access rights (only valid with /E).
/P user:perm Replace specified user's access rights.
Perm can be: N None
R Read
W Write
C Change (write)
F Full control
/D user Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.

Abbreviations:
CI - Container Inherit.
The ACE will be inherited by directories.
OI - Object Inherit.
The ACE will be inherited by files.
IO - Inherit Only.
The ACE does not apply to the current file/directory.

REZADG
جمعه 19 شهریور 1389, 19:00 عصر
ممنون آققا همین رو میخواستم

shedayat
جمعه 19 شهریور 1389, 19:43 عصر
واسه دستور ممنون
اما دستور غيرفعال كردن كار نميكنه



>Cacls /?
Displays or modifies access control lists (ACLs) of files

CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
[/P user:perm [...]] [/D user [...]]
filename Displays ACLs.
/T Changes ACLs of specified files in
the current directory and all subdirectories.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
/G user:perm Grant specified user access rights.
Perm can be: R Read
W Write
C Change (write)
F Full control
/R user Revoke specified user's access rights (only valid with /E).
/P user:perm Replace specified user's access rights.
Perm can be: N None
R Read
W Write
C Change (write)
F Full control
/D user Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.

Abbreviations:
CI - Container Inherit.
The ACE will be inherited by directories.
OI - Object Inherit.
The ACE will be inherited by files.
IO - Inherit Only.
The ACE does not apply to the current file/directory.



شما مطمئنید.
ولی ظاهرا دوستمون امتحان کردن و نتیجه گرفتن.

حمید محمودی
جمعه 19 شهریور 1389, 20:14 عصر
دستور غيرفعال كردن كار نميكنه


اطلاعات بیشتر :

http://ss64.com/nt/cacls.html
http://technet.microsoft.com/en-us/library/bb490872.aspx
http://www.computerhope.com/cacls.htm