The My.Computer.FileSystem.SpecialDirectories property returns an object that has properties giving the locations of various special directories such as the system’s temporary directory and the user’s MyDocuments directory.
The following table describes these special directory properties.
PROPERTY | PURPOSE |
AllUsersApplicationData | Application settings for all users |
CurrentUserApplicationData | Application settings for the current user |
Desktop | The current user’s desktop directory |
MyDocuments | The current user’s MyDocuments directory |
MyMusic | The current user’s MyMusic directory |
MyPictures | The current user’s MyPictures directory |
Programs | The current user’s Programs directory |
ProgramFiles | The current user’s Program Files directory |
Temp | The current user’s temporary directory |