The Mudcat Café TM
Thread #75861   Message #1338514
Posted By: JohnInKansas
25-Nov-04 - 02:38 AM
Thread Name: Tech: Printing blocks of txt
Subject: RE: Tech: Printing blocks of txt
Foolestroupe -

If you only burn music CDs, you don't usually have much problem because all your stuff ultimately comes from CDs and/or because the file structure is pretty shallow. If you burn data CDs, you do have to comply with a slightly different set of "rules" about filenames. There is a specific set of characters that cannot be used in a "Joliet" filename - the usual standard used, and the set is slightly different than for DOS or Windows filenames. As one example, a comma (,) or a dash (-) are perfectly legal in Windows "long file names" but my recollection is that either of these can cause problems with CDs. In Windows, there's almost no real limit** to how long a file name can be, or how "deep" a tree structure is, but on a data CD the "tree" cannot exceed 8 layers, and the total path+filename cannot exceed a specific length (I believe it's 64 characters, but haven't checked recently.)

**There is a limit for Windows filenames, but you seldom get names that long.

The most common "burp" in the burn process for data CDs is the notice that the burner program wants to change a filename - usually because it's too deep a structure or because the total path+filename exceeds the limit on number of characters. For most files you just let it go ahead and truncate the filename, and/or omit the "illegal characters." If you have web pages where the filename is embedded in the files, the folder with all the linked "pretty stuff" has to match the name of the file (and the name in any links contained in the file if absolute addressing is used in links). If you just change the filename (and/or the folder name) the page won't load. Since the folder and the file are at two different "depths" in the tree structure, you're extremely unlikely to get the same change in both.

If you open the web page in your browser, and "save as" a different (hopefully legal) name, everything gets coordinated during the save process so that the necessary matching of file and folder names is done as part of the "save."

Vastly oversimplified, but maybe it'll show what the problem is.

John