站长资源脚本专栏
通过vbs修改以点结尾的文件的属性为隐藏
简介核心代码:rem 修改以点结尾的文件的属性为“隐藏”@echo offset DstFile=C:\test\batcher.>"%temp%\FileProperty.vbs" echo Set objFSO = CreateObject("Scripting.FileSystemObjec
核心代码:
rem 修改以点结尾的文件的属性为“隐藏” @echo off set DstFile=C:\test\batcher. >"%temp%\FileProperty.vbs" echo Set objFSO = CreateObject("Scripting.FileSystemObject").GetFile("\\") "%temp%\FileProperty.vbs" echo objFSO.Attributes=objFSO.Attributes+1+2 cscript /nologo "%temp%\FileProperty.vbs"