Using VB6
I want to delete the last 5 words of the filename, then i want to give so other filename.\
Code.
Name FileName As NewFileName
The above code is working for rename, but i don't want to rename, i want to delete the last 5 letter of the filename.
Expected Output
Filename
sufeshcdk.txt - I want to take (sufeshcd) only
Modifyulla.txt - I want to take (Modifyul) only
How to do this?
Need VB6 Code Help.