Remove file location from a path.
Remove file location from a path.
API Declarations
'
'Ex: text1 = TrimPath("C:\Windows\cdplayer.exe"
Rate Remove file location from a path.
(1(1 Vote))
For i% = Len(sPath) To 1 Step -1
If InStr(i%, sPath, "\", 1) = i% Then Exit For
Next i%
text1.text = Right$(sPath, Len(sPath) - i%)
Remove file location from a path. Comments
No comments yet — be the first to post one!
Post a Comment