Here's the scoop: every time you give a file a name longer than 11 characters (8 characters to the left of the full stop, plus the three-character file-type extension to the right), Windows generates a short 8.3 version of the file name (eight characters plus the three-letter extension) so that the name will remain compatible with older applications.
Windows removes spaces and other illegal characters, and if the original name has more than 8 characters to the left of the dot, Windows replaces all the characters after the first six with a tilde (~) and a number. For example, a file named 'Flower Power Data.xls' also has a short file name: 'FLOWER~1.XLS'.
You can see these short names by opening the DOS prompt, navigating to a folder, typing dir, and pressing
Unfortunately, when many applications make copies of files, they create these short names anew rather than copying the existing short names. So if, for example, you have a folder containing three files named document1.doc, document2.doc, and document3.doc, the short names stored for these files are DOCUME~1.DOC, DOCUME~2.DOC, and DOCUME~3.DOC.
If you delete document1.doc and use Explorer or xcopy to back up document2.doc and document3.doc to another folder, the new name generated for document3.doc is DOCUME~1.DOC. This means the short name DOCUME~1.DOC could point to document1.doc in one folder and to document3.doc in another folder.
If you back up only data files and you always use Windows programs that are savvy about long file names, chances are you won't have a problem, since those applications won't ever refer to the potentially mixed-up short names. But system files are another story. In many cases, Windows' Registry stores the path to files using their short names.
To see this, choose Start-Run, type regedit, and press
The best solution is to make sure you use a backup program that copies the existing short file name along with the long file name; Symantec's Norton Ghost and Norton Ghost 2001 both do this.
For batch-file or simple command-line copying, I like Pixelab's Xxcopy, which at the time of this writing is still freeware. Xxcopy uses the same DOS commands that xcopy does. It preserves short file names, and it has a few other bells and whistles that make it a convenient backup utility. You can download it from our cover CD or from its creator's Web page at www.xxcopy.com.