随笔分类 - VBS
VBS脚本积累
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->'获取本机IP 'owner DeViL 'return 本机的IP地址 Public Function GetIP ComputerName="." Dim objWMISer...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->1 Set fso = CreateObject("Scripting.FileSystemObject") 2 path = fso.GetSpecialFolder(0) GetSpeci...
阅读全文
摘要:因项目需要,需要用VBS脚本获取安全标识符SID(Security Identifiers),如:S-1-5-21-343818398-299502267-839522115-500。本文提供了两种获取SID的方法。
阅读全文