Consultor Eletrônico



Kbase 19282: How to specify a directory with commas in the PROPATH
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/26/1999
How to specify a directory with commas in the PROPATH

KnowledgeBase number: 19282
Creation Date: 26-NOV-1999
Modified Date:

This document applies to: Progress products on MS-Windows
Version and Release Number: Progress 8.2, 8.3, V9

Details:

This knowledgebase entry describe how to refer to a directory with commas in the PROPATH.

On MS-Windows 95, MS-Windows 98 and MS-Windows NT, comma can be used as a valid character in a directory with a long file name.

The Progress PROPATH environment variable is a comma delimited list of directory names.
Therefore, long directory names with commas cannot be used in the PROPATH.

Note: On UNIX, at the UNIX level, it is seen as semi-colon delimited list.

In order to refer to directories with commas in the PROPATH, If you prefer not to remove the commas from the directory name, you can still use the short name of the directory.

Use the command prompt command DIR/X to display the short name of a directory.
For example:

For a directory with name test , directory, the short name would be TEST_D~1.
To refer to it you can use then TEST_D~1.
If you want to refer to it in the 4GL, for instance, if you are adding the directory to the PROPATH in the 4GL, you would need to escape the meaning of the '~' character, then in this case you would use TEST_D~~1.


NOTE: In the 4GL, you can refer to the directory using double quotes to escape the comma and the spaces in a long file name.
Example:

run "test , directory\test.p".