I need to enumerate all files in a directory with name *.frd from a kernel mode driver. I know I need to use ZwCreateFile to get a hnadle to the directory and then ZwQueryDirectoryFile in a loop to enumerate all files in the directory which match the filter. But that's as much as I do know. I've spent all day looking for example code and I can find absolutely nothing. Can anybody who has done this help me out please?. Thanks in advance. Peter -- phodges ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------