Imports System.IO Module Module1 Sub Main() Console.WriteLine("Current directory is {0}", Directory.GetCurrentDirectory()) Directory.SetCurrentDirectory("C:\") Console.WriteLine("Current directory is {0}", Directory.GetCurrentDirectory()) End Sub End Module