powershell脚本隐藏用户目录下面以点开头的文件
$homePath=Get-ChildItem $home foreach($file in $homePath){ if($file -match "^\..+"){ $file.attributes="Hidden" } }
本文链接: https://www.pstips.net/hide-files-that-start-with-full-stop.html
请尊重原作者和编辑的辛勤劳动,欢迎转载,并注明出处!
请尊重原作者和编辑的辛勤劳动,欢迎转载,并注明出处!