ittay
asked on
mkdir failure
Hello,
I've created 12 nested directories. Then I tried to create another one (in the 13th level) with a 200 character name. The mkdir command fails with a "filename too long" error.
Do you know why? How can I solve this (I can cut the name to smaller directories names, but I need to know the maximum length I can use)
Thanx,
Ittay
I've created 12 nested directories. Then I tried to create another one (in the 13th level) with a 200 character name. The mkdir command fails with a "filename too long" error.
Do you know why? How can I solve this (I can cut the name to smaller directories names, but I need to know the maximum length I can use)
Thanx,
Ittay
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Why on Earth Would you want to do that?
ASKER
to shagun_kari:
because i need to. this is something a programm i'm writing does. i don't go about trying to type mkdir for long names.
because i need to. this is something a programm i'm writing does. i don't go about trying to type mkdir for long names.
ASKER
to jkr:
i'm talking about NTFS. is this the case there also?
i'm talking about NTFS. is this the case there also?
Yes, this is true for NTFS also. See http://msdn.microsoft.com/library/psdk/winbase/filesio_7qwj.htm