Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Fetch file system info

Fetch file system info

Scheduled Pinned Locked Moved C#
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    clatten
    wrote on last edited by
    #1

    Hi, By fetching the logical drive from a folder I'd like to test what file system I'm on (NTFS or FAT16/32). Have tried to figure out how that is done but so far been unable to find any useful way to achieve this in neither System.IO or using ManagementObjectSearcher (WMI). Anyone that can hint me where to look?

    M 1 Reply Last reply
    0
    • C clatten

      Hi, By fetching the logical drive from a folder I'd like to test what file system I'm on (NTFS or FAT16/32). Have tried to figure out how that is done but so far been unable to find any useful way to achieve this in neither System.IO or using ManagementObjectSearcher (WMI). Anyone that can hint me where to look?

      M Offline
      M Offline
      MBGeorge
      wrote on last edited by
      #2

      U can obtain that using WMI. try on www.csharphelp.com/arhives3/arhive585.html?ptintable=yes. Is 2nd part for WMI and there u will find a full application source code - see list of logical drives in that app. Hope this will help u .

      C 1 Reply Last reply
      0
      • M MBGeorge

        U can obtain that using WMI. try on www.csharphelp.com/arhives3/arhive585.html?ptintable=yes. Is 2nd part for WMI and there u will find a full application source code - see list of logical drives in that app. Hope this will help u .

        C Offline
        C Offline
        clatten
        wrote on last edited by
        #3

        Yeah, it looks promising. I'll give it a try on Monday. Have a nice weekend.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups