Archive

Archive for August, 2013

Getting A List of All Special Directories in VB.NET

August 27, 2013 Leave a comment

Code below is just a quick blurb on how to get a list of all the Special Directories in VB.NET:

Module SpecialFolderAccess

Sub Main()

For Each tVar As Environment.SpecialFolder In [Enum].GetValues(GetType(Environment.SpecialFolder))
Console.WriteLine(Environment.GetFolderPath(tVar))
Next

Console.ReadKey()

End Sub

End Module

Advertisements
Categories: Uncategorized