How to modify the properties of a file ending with a dot to be hidden through vbs
This article mainly introduces how to modify the properties of files ending with dots through vbs to hide. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
Core code:
Rem modifies the properties of files ending with dots to "hide" @ echo offset DstFile=C:\ test\ batcher. > "% temp%\ FileProperty.vbs" echo Set objFSO = CreateObject ("Scripting.FileSystemObject"). GetFile ("\\?\% DstFile%.\") > > "% temp%\ FileProperty.vbs" echo objFSO.Attributes=objFSO.Attributes+1+2cscript / nologo "% temp%\ FileProperty.vbs" all the content of this article is "how to modify the properties of files ending with dots through vbs to hide". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!