CE101 Posted June 22, 2010 Posted June 22, 2010 How do I obtain the filename from a path. For example, the full path is: C:\Documents and Settings\Gary\Desktop\temp1.txt How do I extract "temp1.txt" into a variable? Any suggestions would be greatly appreciated. Gary
ajag Posted June 22, 2010 Posted June 22, 2010 Hi CE101, did you see the searchbox in the upper right... then you would have found this A-Jay Rule #1: Always do a backup Rule #2: Always do a backup (backup of rule #1)
CE101 Posted June 22, 2010 Author Posted June 22, 2010 Thank you Mobius and ajag. Exactly what I need.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now