We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

search for files with names longer than 256 characters

Medium Priority
1,205 Views
Last Modified: 2012-05-11
Is there an easy way to search a network folder for files with names longer than 256 characters?  

Thanks

cja
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
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.

Author

Commented:
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
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.