Consultor Eletrônico



Kbase P114042: Search function returns ? when using UNC style file name
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/7/2006
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

Search function returns ? when using UNC style file name

Search function works when file name is specified with a mapped drive

The actual file name being searched for is 'NUL'

Application is trying to determine if a given directory exists

CAUSE:

The 'NUL' file name is a special file name that is the equivalent of /dev
ull on a UNIX based system. Windows does not make this special file name available when using a UNC style file name.

FIX:

Modify the application to use the FILE-INFO handle instead of the SEARCH function. The FILE-INFO handle can easily tell you whether a given location exists.