Re: Could I get any code to get all files in root-directory (in FAT32)?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hmm.. But I don't need Win32 API.
I'm reading FAT32 Partition.

Like the other responders pointed out, standard Win32 API will
read any file system (including network drives, CD/DVD, whatever).

The only reason to say "I don't need Win32 API" and to care about
FAT is if you don't develop a Windows application.
Even DOS applications don't need to know about file system
structure (I can point you to the int 21h functions used
to enumerate files)

so, if you want to avoid even DOS level, you should learn the
structure of the FAT16/FAT32 file system, start with low level
disk access and do all the work.

But then microsoft.public.vc.mfc is not the right place to ask
questions (there is no MFC for DOS :-)


--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
.



Relevant Pages

  • Re: How do you get to the DOS prompt using the Recovery CD
    ... NT has no DOS mode, so you'd have to run that from a DOS mode boot ... Windows writes to the HD. ... then repairing internal file system logic so data can be evacuated. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Beware wildcards in Kill
    ... > It is a long-standing issue that wildcards in a DOS ... > characters, and '?' ... You're overlooking the fact that every file in the Windows ... file system has two names: ...
    (microsoft.public.vb.syntax)
  • Re: Next openSUSE
    ... I've found that ext2/3 isn't a bad general purpose file system, ... but ext3 seems to be less error-prone. ... I don't know the directory limits of the DOS file system, ... with the defaults is that referrer and other mess are set ON. ...
    (alt.os.linux.suse)
  • Re: NTFS and Dos
    ... Bear in mind there's not much in the way of recovery tools for NTFS, ... Command.com and Cmd.exe are command and .bat interpreters that run DOS ... As long as these apps use the "normal" file system ...
    (microsoft.public.windowsxp.general)
  • Re: NTFS and Dos
    ... Bear in mind there's not much in the way of recovery tools for NTFS, ... Command.com and Cmd.exe are command and .bat interpreters that run DOS ... As long as these apps use the "normal" file system ...
    (microsoft.public.windowsxp.help_and_support)