Get the App
SLTechnology News&Howtos  ›  Development  › 

How to modify the properties of a file ending with a dot to be hidden through vbs

Shulou Source: shulou.com Published: 2022-06-03 19:32:32 10月03日 Update

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!

Tags: Attributes documents content articles code value interests guys partners more core knowledge industry information information channels channels references help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Docker Xiaomi Huawei Shulou Technology