File-Naming Considerations on Microsoft Windows

Microsoft Windows uses the following naming conventions:

  • File: {DriveMapping:}{Directory\}FileName{.Extension}

    For example d:\uniface\readme.txt.

  • Directory: {DriveMapping:}Directory

    For example d:\uniface or d:\uniface\.

  • Universal Naming Convention (UNC): \\ServerName\NetName or \\ComputerName\ShareName.

The DriveMapping: prefix is not acceptable as Uniface generic syntax. They are passed 'as is' to the operating system.

In path and file names, all special characters, including both Windows allowed characters (embedded periods, spaces, and so on) and Windows disallowed characters (colon, asterisk, vertical bar, and so on) are passed 'as is' to the OS. Uniface does not check the syntax of any such path name or file name.

To keep your file names and directory names as generic as possible when you use file management ProcScript, use Uniface logicals in your assignment file to prefix the names with a Windows-specific drive mapping. See Guidelines for Writing Platform-Independent ProcScript .

Related Topics