我想通过DOS cmd只设置权限读取和执行,列出文件夹内容,读取和写入文件夹权限 [英] I want to set only permission Read&Execute , List Folder Content , Read and Write folder permission through DOS cmd

查看:587
本文介绍了我想通过DOS cmd只设置权限读取和执行,列出文件夹内容,读取和写入文件夹权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





任何人都可以帮我找到dos cmd来设置文件夹权限,即读取和执行,列出文件夹内容,读取和写入特定用户。

我使用的是CACLS cmd,但它有R,C,W和F选项。

如果我用户R比ead @ Execute,列出文件夹内容和读取设置。

如果我的用户W只有写权限设置。

如果我用户F比所有权限设置。

我想只设置权限读取和执行,列出文件夹内容,通过DOS cmd读取和写入文件夹权限

我的操作系统是带有SP 1的窗口2003服务器。



早期帮助赞赏。



Narayan

Hi

Can any one help me to find dos cmd to set folder permission i.e Read&Execute , List Folder Content , Read and Write to particular user.
I am using CACLS cmd but it have R , C , W and F option.
If i user R than ead @ Execute , List Folder Content and Read set.
If i user W than only Write permission set.
if i user F than all permission set.
I want to set only permission Read&Execute , List Folder Content , Read and Write folder permission through DOS cmd.
My OS is window 2003 server with SP 1.

Early help appreciated.

Narayan

推荐答案

Windows 2003没有DOS cmd这样的东西。



您应该谈论命令行实用程序这样做,这样您可以批量使用它例如,文件和其他事情。它与Windows不支持的DOS或DOS提示符无关(谢天谢地!)因为...哦...很长时间。让我们忘了它。



你需要的是cacls或icacks实用程序。请参阅:

http://en.wikipedia.org/wiki/Cacls [< a href =http://en.wikipedia.org/wiki/Caclstarget =_ blanktitle =New Window> ^ ],

http://technet.microsoft.com/en-us/library/cc753525%28v=ws .10%29.aspx [ ^ ],

http:/ /technet.microsoft.com/en-us/library/bb490872.aspx [ ^ ]。



这就是全部。在您阅读完文档后,您将自行了解所有其他内容。



-SA
Windows 2003 does not have such thing as "DOS cmd".

You should talk just about command-line utility for doing so, that way you could use it in batch files, for example, and do other things. It has nothing to do with "DOS" or "DOS Prompt" which are not supported by Windows (thanks goodness!) since… ooh… really long time. Let's just forget it.

What you need is the cacls or icacks utility. Please see:
http://en.wikipedia.org/wiki/Cacls[^],
http://technet.microsoft.com/en-us/library/cc753525%28v=ws.10%29.aspx[^],
http://technet.microsoft.com/en-us/library/bb490872.aspx[^].

That's all. All the rest you will find out by yourself after you read the documentation.

—SA


这篇关于我想通过DOS cmd只设置权限读取和执行,列出文件夹内容,读取和写入文件夹权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆