WScript.Shell對象SpecialFolders屬性未公開文檔分享
更新時間:2013年01月13日 23:26:08 作者:
WshShell對象的SpecialFolders屬性返WshSpecialFolders 對象,該對象是一個特殊文件夾集合,其中包含整套Windows特殊文件夾
特殊文件夾名稱用于索引該集合以檢索所需的特殊文件夾,文檔中列出了下面的特殊文件夾:
AllUsersDesktop
AllUsersStartMenu
AllUsersPrograms
AllUsersStartup
Desktop
Favorites
Fonts
MyDocuments
NetHood
PrintHood
Programs
Recent
SendTo
StartMenu
Startup
Templates
不過今天在用OllyDbg調試VBS的時候,發(fā)現文檔中少寫了一個AppData文件夾,作文以記之。
'Author: Demon
'Date: 2012-9-25
'Website: http://demon.tw
Dim WshShell
Set WshShell = CreateObject("wscript.Shell")
WScript.Echo WshShell.SpecialFolders("AppData")
原文來自: http://demon.tw/programming/wscript-shell-specialfolders.html
AllUsersDesktop
AllUsersStartMenu
AllUsersPrograms
AllUsersStartup
Desktop
Favorites
Fonts
MyDocuments
NetHood
PrintHood
Programs
Recent
SendTo
StartMenu
Startup
Templates
不過今天在用OllyDbg調試VBS的時候,發(fā)現文檔中少寫了一個AppData文件夾,作文以記之。
復制代碼 代碼如下:
'Author: Demon
'Date: 2012-9-25
'Website: http://demon.tw
Dim WshShell
Set WshShell = CreateObject("wscript.Shell")
WScript.Echo WshShell.SpecialFolders("AppData")
原文來自: http://demon.tw/programming/wscript-shell-specialfolders.html
相關文章
用vbs返回 Internet Explorer 的下載控件和 Applet 的列表
用vbs返回 Internet Explorer 的下載控件和 Applet 的列表...2007-04-04