public class Test public Shared Sub Main Console.WriteLine(My.Computer.FileSystem.SpecialDirectories.Temp) End SubEnd class C:\Documents and Settings\Joe\Local Settings\Temp