WScript.Shell对象SpecialFolders属性未公开文档

标签: , , , ,

WshShell对象的SpecialFolders属性返WshSpecialFolders 对象,该对象是一个特殊文件夹集合,其中包含整套Windows特殊文件夹。

特殊文件夹名称用于索引该集合以检索所需的特殊文件夹,文档中列出了下面的特殊文件夹:

  • AllUsersDesktop
  • AllUsersStartMenu
  • AllUsersPrograms
  • AllUsersStartup
  • Desktop
  • Favorites
  • Fonts
  • MyDocuments
  • NetHood
  • PrintHood
  • Programs
  • Recent
  • SendTo
  • StartMenu
  • Startup
  • Templates

不过今天在用OllyDbg调试VBS的时候,发现文档中少写了一个AppData文件夹,作文以记之。

'Author: Demon
'Date: 2012-9-25
'Website: https://demon.tw
Dim WshShell
Set WshShell = CreateObject("wscript.Shell")
WScript.Echo WshShell.SpecialFolders("AppData")
赞赏

微信赞赏支付宝赞赏

随机文章:

  1. 吞噬者批处理编写器
  2. VBS内置常量大全
  3. jQuery mouseover mouseout事件在IE下闪烁的解决方法
  4. BAT批处理编辑器BatEdit
  5. MySQL字符集与排序方式

留下回复