Previous Next

Pretesting UNC and LFN Support

[This is preliminary documentation and subject to change.]

The following sections describe the pretesting for Universal Naming Convention (UNC) paths and long file names (LFNs).

Pretesting direct network browsing with UNC paths

Open a file, and use the Save As command to save the file to a standard server with an LFN and with various UNC paths (for example, \\ServerName\MySubdirectory\MyLongFileName).

It should be possible to save and retrieve files without specifically referring to a network drive letter.

Proper LFN handling

LFN handling must:

Pretesting proper LFN handling

Test each of the allowed file names in the following list. Note that the pound sign ( # ) in the names below is intended to represent a spacebar space:

test
test#test#test#test
test#1234567890[up to a total of 260 characters]

You should also test the following list of file names, which should be saved to the hard disk as indicated. Again, the pound sign ( # ) in the names below is intended to represent a spacebar space, and ext is intended to stand for the file extension that is appropriate to your application:

test                (should be saved as "test.ext")
###test             (should be saved as "test.ext")
test###             (should be saved as "test.ext")
test#;#+#,#=#[#]    (saved as "test#;#+#,#=#[#].ext")

\\folder#one\folder#two\folder#three\folder#four\file

Pretesting LFN Handling for Utilities

  1. Run the utility (your product), and manipulate several LFN files.
  2. Open these files both with their LFNs and with their 8.3 aliases, and make sure both relate to the same file.
  3. Check overall LFN file structure to ensure its integrity has not been damaged.