I have written a filesystem driver (the driver is read-only and does not support Fast I/O). The directory listing appears correctly in Windows explorer. However, whenever I double click on a file with which there is no default application associated (mostly files with no extension), I receive the following error:
f:etcfstab
Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item.
The funny thing is that if I open the file from a command prompt (eg. by the command “write f:abc”), the file opens correctly. Also, if I open files directly from an application (using an open dialog box), they open correctly. Files with extensions and a default viewer pose no problem.
I have run filemon while receiving this error, and have attached the log below.
Can anyone decipher why the files do not open from windows explorer? I know this is a problem with my driver as I do not face such problems on NTFS drives.
Filemon log:
1 6:39:43 PM explorer.exe:1612 FASTIO_QUERY_OPEN F:etcfstab FAILURE
2 6:39:43 PM explorer.exe:1612 IRP_MJ_CREATE F:etcfstab SUCCESS Options: Open Access: All
3 6:39:43 PM explorer.exe:1612 FASTIO_QUERY_BASIC_INFO F:etcfstab FAILURE
4 6:39:43 PM explorer.exe:1612 IRP_MJ_QUERY_INFORMATION F:etcfstab SUCCESS FileBasicInformation
5 6:39:43 PM explorer.exe:1612 IRP_MJ_CLEANUP F:etcfstab SUCCESS
6 6:39:43 PM explorer.exe:1612 IRP_MJ_CLOSE F:etcfstab SUCCESS
7 6:39:43 PM explorer.exe:1612 IRP_MJ_CREATE F:etcfstab SUCCESS Options: Open Access: All
8 6:39:43 PM explorer.exe:1612 IRP_MJ_SET_INFORMATION F:etcfstab * 0xC00000A2 FileBasicInformation
9 6:39:43 PM explorer.exe:1612 IRP_MJ_READ F:etcfstab SUCCESS Offset: 0 Length: 512
10 6:39:43 PM System:4 IRP_MJ_CLOSE F:etcfstab SUCCESS
11 6:39:43 PM explorer.exe:1612 FASTIO_READ F:etcfstab FAILURE Offset: 0 Length: 4
12 6:39:43 PM explorer.exe:1612 IRP_MJ_READ F:etcfstab SUCCESS Offset: 0 Length: 4
13 6:39:43 PM explorer.exe:1612 IRP_MJ_CLEANUP F:etcfstab SUCCESS
14 6:39:43 PM explorer.exe:1612 FASTIO_QUERY_OPEN F:etc FAILURE
15 6:39:43 PM explorer.exe:1612 IRP_MJ_CREATE F:etc SUCCESS Options: Open Access: All
16 6:39:43 PM explorer.exe:1612 FASTIO_QUERY_BASIC_INFO F:etc FAILURE
17 6:39:43 PM explorer.exe:1612 IRP_MJ_QUERY_INFORMATION F:etc SUCCESS FileBasicInformation
18 6:39:43 PM explorer.exe:1612 IRP_MJ_CLEANUP F:etc SUCCESS
19 6:39:43 PM explorer.exe:1612 IRP_MJ_CLOSE F:etc SUCCESS
Sign up and get your 30GB webmail at www.30gigs.com now!