Unable to list files

(imported topic written by sinucus)

I am unable to list the files in my drivers folder.

q: names of files of folder “c:\windows\system32\drivers”

A: bmdrvr.sys

A: gm.dls

A: gmreadme.txt

Results back with about 5 files. Looking at it in Windows shows 357 files.

q: exists file “C:\windows\system32\drivers\srv2.sys”

A: False

C:\Windows\System32\drivers>dir srv2.sys

Directory of C:\Windows\System32\drivers

04/28/2011 10:05 PM 410,112 srv2.sys

Any idea what is going on?

(imported comment written by SystemAdmin)

Take a look at this post:


Since I’m guessing it is an x64 system you might try the following statement to list 32 and 64 bit files:

(names of files of it) of (x64 folder “c:\windows\system32\drivers”;folder “c:\windows\system32\drivers”)

(imported comment written by sinucus)

That was it. Thanks