VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Just Two line code to get the BASE FILENAME without extention from filepath

by NIKI MALAVIA (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 24th February 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Just Two line code to get the BASE FILENAME without extention from filepath

Rate Just Two line code to get the BASE FILENAME without extention from filepath



'If any query regarding this code then pls fill free to conatct at [email protected]
Set fs = CreateObject("Scripting.FileSystemObject")
MsgBox fs.GetBaseName("c:\Dharmesh\niki.txt") 'Pass Any Filepath as a argument



Download this snippet    Add to My Saved Code

Just Two line code to get the BASE FILENAME without extention from filepath Comments

No comments have been posted about Just Two line code to get the BASE FILENAME without extention from filepath. Why not be the first to post a comment about Just Two line code to get the BASE FILENAME without extention from filepath.

Post your comment

Subject:
Message:
0/1000 characters