how to check whether a drive is a network drive or drive from attached hard-disk

Discussion in 'Python' started by shailesh, Mar 28, 2007.

  1. shailesh

    shailesh Guest

    Hi,

    Few very simple questions.

    Is there a way to detect whether a drive is a mapped network drive or
    not in Windows?

    Also, how can I get a list of drive letters currently in use in the
    system?

    Your help is highly appreciated. Thanks in advance.

    With regards,
    -Shailesh
     
    shailesh, Mar 28, 2007
    #1
    1. Advertising

  2. shailesh

    Tim Golden Guest

    Re: how to check whether a drive is a network drive or drive fromattached hard-disk

    shailesh wrote:
    > Hi,
    >
    > Few very simple questions.
    >
    > Is there a way to detect whether a drive is a mapped network drive or
    > not in Windows?
    >
    > Also, how can I get a list of drive letters currently in use in the
    > system?


    http://tgolden.sc.sabren.com/python/wmi_cookbook.html#find-drive-types

    TJG
     
    Tim Golden, Mar 28, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stephane Guyetant

    Hard Disk Drive behavioral model

    Stephane Guyetant, Oct 2, 2003, in forum: VHDL
    Replies:
    0
    Views:
    570
    Stephane Guyetant
    Oct 2, 2003
  2. mh
    Replies:
    4
    Views:
    706
    Wolfgang Strobl
    May 31, 2005
  3. Praveen
    Replies:
    1
    Views:
    981
    Rob Williscroft
    Nov 5, 2006
  4. Replies:
    0
    Views:
    336
  5. king
    Replies:
    1
    Views:
    284
Loading...

Share This Page