SoFunction
Updated on 2025-03-09

The object's SpecialFolders property is not publicly shared

The special folder name is used to index the collection to retrieve the required special folders, and the following special folders are listed in the document:

AllUsersDesktop
AllUsersStartMenu
AllUsersPrograms
AllUsersStartup
Desktop
Favorites
Fonts
MyDocuments
NetHood
PrintHood
Programs
Recent
SendTo
StartMenu
Startup
Templates
However, today when I was debugging VBS with OllyDbg, I found that there was less AppData folder written in the document and I wrote it to memorize it.
Copy the codeThe code is as follows:

'Author: Demon
'Date: 2012-9-25
'Website:
Dim WshShell
Set WshShell = CreateObject("")
("AppData")


Original text from:/programming/