MS-DOS share name length

I have been populating a print server with printers all day today, and I noticed that it constantly changes the share name to 8 characters when you get to the sharing section of the “add new printer” wizard. If I change it to more characters server 03 tells me MS-DOS PC’s will not be able to connect to this share. So it got me thinking why is it that 8 characters is the max that MS-DOS can see? Do shares with 9+ characters just not show up? It just doesn’t make any sense to me, maybe it has something to do with the 16 bit architecture or FAT 16??? I did a quick Google search on share names in MS-DOS and didn’t find anything, since I have a ton of printers to add I really don’t have time to research this. To clarify I am looking for the technical reason behind this behavior.

Bonus points if anyone knows why server 03 defaults printer share names like this to support a OS released more than 20 years before 2003.

Answer

Traditionally MS-DOS systems use a directory and file system that harkens back to the old CP/M days where filenames have a very restricted format of 8 characters for the filename and 3 for the extention (known as 8.3 format)

This restriction was somewhat worked around with the advent of Windows 95 but it only really disappeared completely with Windows XP.

Due to everything like shares etc being seen as filesystems they are restricted to what the operating system can cope with – in the case of MS-DOS that’s 8.3 format.

I personally haven’t seen an MS-DOS system for a number of years (though I suppose some people still use them), so unless you actually have some MS-DOS systems on your network then this is something that can be pretty much ignored.

As to why they do it? Well, they’re Microsoft. They don’t need a reason.

Attribution
Source : Link , Question Author : Supercereal , Answer Author : Majenko

Leave a Comment