Axter
asked on
Is there any way to open a file in Windows using ONLY the FRN (File Reference Number)?
Is there any way to open a file in Windows using ONLY the FRN (File Reference Number)?
This is for a file system that does NOT support change journal, but it does support FRN. I need to be able to open the file only using the FRN, and I'm looking for a Windows API that would allow me to do that.
This is for a file system that does NOT support change journal, but it does support FRN. I need to be able to open the file only using the FRN, and I'm looking for a Windows API that would allow me to do that.
ASKER
The link you posted requires change journal.
As I stated in my question, this file system does not support change journal.
The database method will not work, since that would defeat the purpose of the application.
The application is building a database using a third party API, which gives file name and FRN.
Since this file system is shared between both Windows and UNIX, the files can have names that are the same, but with different case. The files can also have characters not allowed by Windows.
When this happens, the file name given by the API is not the name the Windows program can use to access the file.
So I'm trying to figure out a way to determine the Windows mangled name (foofoo~1.txt) for a given file using the FRN, without having to iterate through the directory, which also may have a mangled name.
As I stated in my question, this file system does not support change journal.
The database method will not work, since that would defeat the purpose of the application.
The application is building a database using a third party API, which gives file name and FRN.
Since this file system is shared between both Windows and UNIX, the files can have names that are the same, but with different case. The files can also have characters not allowed by Windows.
When this happens, the file name given by the API is not the name the Windows program can use to access the file.
So I'm trying to figure out a way to determine the Windows mangled name (foofoo~1.txt) for a given file using the FRN, without having to iterate through the directory, which also may have a mangled name.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Closed, 500 points refunded.
Computer101
EE Admin
Computer101
EE Admin
http://www.microsoft.com/msj/1099/journal2/journal2.aspx