for($file=[IO.File]::OpenText("C:\Users\Administrator\Desktop\user_list.txt") ; !($file.EndOfStream);$line=$file.ReadLine() )
{
$url="D:\ftpfile\$line";
$a=Test-Path $url;
if ($a){
cacls $url /T /E /g ${line}:r
}
}
$file.Close()

最新文章

  1. zx一篇让Java程序猿随时可以翻看的Oracle总结
  2. ListView遍历每个Item出现NullPointerException的异常
  3. android服务之录音功能
  4. XAMPP和Bugfree详细教程
  5. loadrunner 如何做关联
  6. PHP迭代
  7. IDL---ENVI
  8. Unity Editor not displaying Android textures properly
  9. 触摸屏网站开发系列(一)-ios web App应用程序(ios meta)
  10. sizeof与类,继承,virtual的种种
  11. 【二分答案】【POJ3122】【Northwestern Europe 2006】Pie
  12. 蓝桥杯- 奇妙的数字-java
  13. jQuery的区别:$().click()和$(document).on('click','要选择的元素',function(){})的不同
  14. IIS Express总结
  15. 使用Java编译思想
  16. Spring系列__01HelloWorld
  17. java截取2个指定字符之间的字符串
  18. Maven 本地仓库,远程仓库,中央仓库,Nexus私服,镜像 详解
  19. Django用户验证框架
  20. Mac下使用Fiddler(转载园友小坦克)

热门文章

  1. avalon1.3的新特性预览
  2. springboot 跳过单元测试
  3. html 资源
  4. laravel phpstorm IDE 代码提示
  5. iOS判断字母、数字串
  6. 解决git无法clone地址为https的库
  7. 8-全排列next_permutation
  8. Python爬虫实战二之爬取百度贴吧帖子
  9. java 获取 获取某年某月 所有日期(yyyy-mm-dd格式字符串)
  10. Spring框架总结(八)