Hi,
When I have spaces and/or unusual characters in a folder path the following code opens the user's Documents folder instead of the intended path.
Is there any way to fix it?
Code:Dim FolderPath As String = "C:\A,B 1.1" If System.IO.Directory.Exists(FolderPath) Then Process.Start("explorer.exe", FolderPath) Else MsgBox("Path does not exist") End If




Reply With Quote