VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



get the path from a filename, in one line of code

by Adash (3 Submissions)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 25th December 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

get the path from a filename, in one line of code

Rate get the path from a filename, in one line of code




fDir = Left$(FileName$, InStrRev(FileName$, "\", -1))

Download this snippet    Add to My Saved Code

get the path from a filename, in one line of code Comments

No comments have been posted about get the path from a filename, in one line of code. Why not be the first to post a comment about get the path from a filename, in one line of code.

Post your comment

Subject:
Message:
0/1000 characters