Combine Path : File System « File Directory « VB.Net






Combine Path

Imports System
Imports System.Windows.Forms
Imports System.IO

Public Class MainClass

   Shared Sub Main()
        Dim file_path As String = My.Computer.FileSystem.CombinePath(Application.StartupPath, "..\..")

        Console.WriteLine(file_path)
   End Sub 

End Class

           
       








Related examples in the same category

1.File System: Find In Files
2.Read Text file contentRead Text file content