Does file with Long-file pathnames exist
Posted on 1998-10-13
I am running Oracle Forms (188.8.131.52) as part of
Developer/2000 (1.3.2) with Personal Oracle 7.3.3 under
Windows 95. I stored a path (containing long file names
and one name with a space in it) in the Registry; this
path refers to an executable not related to Oracle. Then
I read the entry from the Registry and tried to find the
file named by that path.
I have tried to confirm the existence of the file using
TEXT_IO.fopen and again tried using the command
WIN_API_UTILITY.Copy_File. In both cases, a NO_DATA_FOUND
exception is raised instead. If the paths are changed so
that MS-DOS (short) length filenames are used, then this
problem goes away.
Is there any way to determine the existence of a file from
Oracle Forms 4.5, without restricting the filenames to
MS-DOS (8.3) format or creating a user exit?