请教大家用subinacl设置权限的问题

gooore 2009-03-03 04:30:18
在下想测试用subinacl来设置文件的权限,以下是cmd的密令行。
我的文件是c:\1\1.txt,域账户ingrnet\cliu
subinacl.exe所在的位置是C:\Program Files\Windows Resource Kits\Tools\sub
inacl.exe

在运行了之后总是提示找不到文件,试了好几个路径了,还是没有搞清楚为什么,请教大家,帮忙检查一下命令行中的问题.

非常感谢



Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


C:\Documents and Settings\cliu>"C:\Program Files\Windows Resource Kits\Tools\sub
inacl.exe"/file c:\1\1.txt\grant=ingrnet\cliu=r
c:\1\1.txt\grant=ingrnet\cliu=r - CreateFile Error : 3 The system cannot find th
e path specified.



Elapsed Time: 00 00:00:00
Done: 1, Modified 0, Failed 1, Syntax errors 0
Last Done : c:\1\1.txt\grant=ingrnet\cliu=r
Last Failed: c:\1\1.txt\grant=ingrnet\cliu=r - CreateFile Error : 3 The system c
annot find the path specified.


C:\Documents and Settings\cliu>
...全文
408 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
gooore 2009-03-03
  • 打赏
  • 举报
回复
命令行中的反斜杠已经改了的,不好意思,贴了个正斜杠的版本上来。。

6,868

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧