We help IT Professionals succeed at work.

valid win 2k file name definition

dave_p_r_b
dave_p_r_b asked
on
223 Views
Last Modified: 2010-04-14
hi,
I'm looking for a definition, from microsoft, of valid windows file names. LFN's to be precise.

I've found a number of references in MSDN, some say max length is MAX_PATH (
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/dnw2kcli/html/W2Kcli_chapter1.htm
) (which is 260 at the moment).

My book "Inside Windows 2000" by microsoft, says a file name within a path may be as many as 255 chars long.

I cannot find mention of invalid chars without deliberately renaming a filename in explorer to include a "?"  - then read the error dialog.

A web link to a microsoft page would be greatly appreciated.

Regards,
David.

Comment
Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*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.