Announcement

Collapse
No announcement yet.

Reassign Drive Letter

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

  • Reassign Drive Letter

    Does anyone know how (or have a PB or VB code snippet showing how) to reassign the drive letter of an existing drive? (e.g. Change drive F: to drive G: )
    Michael Burns

  • #2
    Looks like the Windows Script Host's RemoveNetworkDrive and MapNetworkDrive methods can do the job. Should be a way to call that from a PB program.

    I have to believe there are Windows Network API functions for this, too, but I can't find them on my on-disk SDK and don't feel like using the search at the Microsoft site, but that could be worth your time to do so.

    MCM
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment

    Working...
    X