|
utem999
初级用户
 
积分 135
发帖 54
注册 2006-9-10
状态 离线
|
『楼 主』:
用CMD修改文件夹访问权限???
使用 LLM 解释/回答一下
如在系统建立文件1.exe,2.exe,3.exe之类
请问如何用CMD使这些文件夹不能访问
包括超级用户
Last edited by utem999 on 2006-10-8 at 06:20 ]
If a file like 1.exe, 2.exe, 3.exe is created in the system, how to use CMD to make these folders inaccessible, including the super user
Last edited by utem999 on 2006-10-8 at 06:20 ]
|
|
2006-10-8 02:08 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
Originally posted by utem999 at 2006-10-8 02:08:
如在系统建立文件1.exe,2.exe,3.exe之类
请问如何用CMD使这些文件夹不能访问
包括超级用户
“在系统建立文件1.exe,2.exe,3.exe”与“用CMD使这些文件夹不能访问”互相矛盾,请楼主把问题表达清楚一点。
另外,主题比较模糊,建议修改一下主题,比如:
“用CMD修改文件夹访问权限”之类...
Originally posted by utem999 at 2006-10-8 02:08:
If files like 1.exe, 2.exe, 3.exe are created in the system
How to use CMD to make these folders inaccessible
Including the super user
“There are files like 1.exe, 2.exe, 3.exe created in the system” is contradictory to “use CMD to make these folders inaccessible”. Please make the problem clearer, the LZ.
In addition, the topic is relatively vague. It is recommended to modify the topic, such as:
“Use CMD to modify folder access permissions” and so on...
|
|
2006-10-8 04:54 |
|
|
zerocq
中级用户
  
积分 458
发帖 196
注册 2006-10-5
状态 离线
|
|
2006-10-8 04:58 |
|
|
utem999
初级用户
 
积分 135
发帖 54
注册 2006-9-10
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
Originally posted by utem999 at 2006-10-8 02:08:
如在系统建立文件1.exe,2.exe,3.exe之类
请问如何用CMD使这些文件夹不能访问
包括超级用户
Last edited by utem999 on 2006-10-8 at 06:20 ]
先建立文件
再设置访问权限
Originally posted by utem999 at 2006-10-8 02:08:
If files like 1.exe, 2.exe, 3.exe are created in the system
How to use CMD to make these folders inaccessible
Including the super user
Last edited by utem999 on 2006-10-8 at 06:20 ]
First create the file
Then set the access permissions
|
|
2006-10-8 06:22 |
|
|
weilong888
银牌会员
    
积分 1270
发帖 548
注册 2004-5-31
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
如果是NTFS的分区,可以只是system用户才可以访问,连管理员的帐户也不可以访问。
If it is an NTFS partition, only the system user can access it, and even the administrator account cannot access it.
|
|
2006-10-8 06:49 |
|
|
utem999
初级用户
 
积分 135
发帖 54
注册 2006-9-10
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
Originally posted by utem999 at 2006-10-8 06:22:
先建立文件
再设置访问权限
是NTFS的分区
Originally posted by utem999 at 2006-10-8 06:22:
First create the file
Then set access permissions
It is an NTFS partition
|
|
2006-10-8 07:43 |
|
|
payxl
初级用户
 
积分 26
发帖 14
注册 2007-7-7
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
如果是1.exe的话,可用:
cacls 1.exe /e /t /r "Administrators"
cacls 1.exe /e /t /r "Administrator"
cacls 1.exe /e /t /r "users"
cacls 1.exe /e /t /r "system"
cacls 1.exe /e /t /r "everyone"
你机子上还有其他用户的话也可用同样的方法加入不让访问的用户
Last edited by payxl on 2007-7-9 at 12:34 AM ]
If it is 1.exe, you can use:
cacls 1.exe /e /t /r "Administrators"
cacls 1.exe /e /t /r "Administrator"
cacls 1.exe /e /t /r "users"
cacls 1.exe /e /t /r "system"
cacls 1.exe /e /t /r "everyone"
If there are other users on your machine, you can also use the same method to add users who are not allowed to access
|
|
2007-7-9 00:33 |
|
|
zxlxsqzy
初级用户
 
积分 126
发帖 47
注册 2007-7-2
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
看看这样行不
echo y|cacls "路径\1.exe" /d everyone
echo y|cacls "路径\2.exe" /d everyone
echo y|cacls "路径\3.exe" /d everyone
Let's see, the original text is in Chinese but the content after is a batch command. The translated text would be:
See if this works
echo y|cacls "path\1.exe" /d everyone
echo y|cacls "path\2.exe" /d everyone
echo y|cacls "path\3.exe" /d everyone
|
|
2007-7-28 15:42 |
|