Get absolute path of a file
Get absolute path of a file
Rate Get absolute path of a file
(2(2 Vote))
Public sub Form_Load()
Dim fso As New FileSystemObject
Dim strPath As String
strPath = fso.GetAbsolutePathName("D:\\\Test.txt")
Debug.Print strPath
End Sub
'This program prints absolute path of the Test.txt file in a debug window
Get absolute path of a file Comments
No comments yet — be the first to post one!
Post a Comment