max characters

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

What is the max # of characters u can use in a filename?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

For what OS?

DOS was 8.3

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

Win 95
Win 98
Win 2000
unix / linux

They have: 15 posts

Joined: Jul 2001

For win98, the file's full pathname--the drive, folder, and filename--can't exceed 253 characters.

source: Unauthorized Guide to Win98 --Paul McFedries

--Papa

They have: 105 posts

Joined: Jun 2001

And what about linux/unix/*bsd?

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Unix file names can be 1024 characters but it is really more than that since Uppercase and Lowercase are different. So the following filenames could represent a different filename:
gyrbo
Gyrbo
GYrbo
GYRbo
GYRBo
GYRBO
gYrbo
gYRbo
gYRBo
gYRBO
gyRbo
gyRBo
gyRBO

and so on. So in Windows if you wanted to name a file Gyrbo, you would have only one Choice. In 'nix, you would have a lot more possibilties.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.