Link to home
Start Free TrialLog in
Avatar of cja-tech-guy
cja-tech-guyFlag for United States of America

asked on

search for files with names longer than 256 characters

Is there an easy way to search a network folder for files with names longer than 256 characters?  

Thanks

cja
ASKER CERTIFIED SOLUTION
Avatar of Member_2_921743
Member_2_921743
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi cja,

Are you looking for something that will output a list to a text file?
Are you talking about just the file name being longer than 256 chars (e.g: mydoc12345.txt = 14chars) or do you want to count the entire pathname as well (e.g: \\myserver\myfolder\myfile.txt = 30chars)
This can be done via a vbscript if you let me know your requirements
S.
Avatar of cja-tech-guy

ASKER

I am going to be copying a large directory from one server to another and I want to make sure the copying doesn't get hung up by a file name that is too long.  The files are being copied froma 2003 server to a 2008 server.  I ahve had this issue in the past where I start teh copy nad it stops with an error that it can't copy file xyz.123, so I have to go back in and find that file and rename or delete it.  Any way to easily check the file name lengths?

Thanks,
cja