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調(diào)試VBS的時候,發(fā)現(xiàn)文檔中少寫了一個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調(diào)試VBS的時候,發(fā)現(xiàn)文檔中少寫了一個AppData文件夾,作文以記之。
復(fù)制代碼 代碼如下:
'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
您可能感興趣的文章:
- Wscript.Shell 對象詳細(xì)介紹?。√睾玫臇|西
- windows2003下使用asp WScript.Shell的設(shè)置方法
- ASP.NET下使用WScript.Shell執(zhí)行命令
- vbScript中WScript.Shell對象的run和exec使用心得分享
- 關(guān)閉網(wǎng)站的wscript.shell命令行執(zhí)行
- 利用WScript.Shell對象隱藏cmd命令行運(yùn)行框的實(shí)現(xiàn)代碼
- win2003 WScript.shell與Shell組件安全篇
- Js使用WScript.Shell對象執(zhí)行.bat文件和cmd命令
相關(guān)文章
由vbs sort引發(fā).NET Framework之間的關(guān)系說明
昨天晚上linkanyway問我VBS數(shù)組怎么排序,有沒有sort方法。我說,VBS又不是C#,怎么可能有sort方法,自己寫個排序算法不就行了。他說他不會寫,忽悠誰呢。2011-01-01
windows.關(guān)于設(shè)置腳本的一些基本方法原則
windows.關(guān)于設(shè)置腳本的一些基本方法原則...2007-03-03

