Announcement

Collapse
No announcement yet.

Finding out what drives are on my network

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Finding out what drives are on my network

    I just made a little program that gives me information about the drives on my little home network and to do it I had to hard-code the UNC's. Does anyone know a way to get that information so I can make this more general and give copies to friends without hard coding the names?

    I know how to get local drives but I'd like to get drives on other computers on the same network. I've just spent an hour going through the API help and the PB help with no luck. I guess I'm not sure what I'm looking for.

    Thanks for any tips or pointers,
    Barry

  • #2
    Don't know if this will help but you might check out "Who's on my network" in the source code forum.

    This will return the device name (most of the time) of your shared machines on your network. You may be able to go from there to get your shared network drives.

    Sometimes, the device name will not be returned due to it not being recorded in the device. My Dell laser printer is a prime example.
    There are no atheists in a fox hole or the morning of a math test.
    If my flag offends you, I'll help you pack.

    Comment


    • #3
      That's in PBCC which I don't have so I couldn't try it but I see that it saves the list the first time through in a text file for use the next time. Maybe I should just make a text file and have the program use that.

      If I don't find a way to automate it I guess that's what I'll do.

      Thanks for the suggestion.

      Barry

      Comment

      Working...
      X