application to shorten long file names

f1sh3r

Senior member
Oct 9, 2004
636
0
0
im doing a data transfer and there are about 320 files with looooong titles, like a sentence. windows wont transfer them because the file names are too long. is there an application or program that can search for and shorten long file names?

i imagine it wouldnt be that hard to write a a small app for a seasoned professional, but personally i wouldnt know where to start...

if filename.char > 24
filename == substr(filename, 18)
 

yinan

Golden Member
Jan 12, 2007
1,801
2
71
The reason that Windows wont transfer the file is not technically due to the length of the file, but the length of the complete path to the file. I forget what the limit is but it may be a max of a total of 255 characters.

Example:
c:\documents and setttings\administrator\desktop\stuff\stuff\stuff\textfile.txt

Jim