VBA or other method to get UNC path from drive lettered folder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • munkee
    Contributor
    • Feb 2010
    • 374

    VBA or other method to get UNC path from drive lettered folder

    Hi all,

    This is probably something very simple however I cant seem to get this to work right.

    I am looking to basically find out what the UNC path is to my folder which holds my database. I first figured this would be very simple by just navigating through network places but it really is just a mass of servers.

    The directory is located K:\corp\NonConf ormance there but I have read multiple times it is a big risk to go by drive letter as these can often change. So I would like to find the UNC path.

    Any help is appreciated,

    Chris
  • Darren McDonald
    New Member
    • Aug 2010
    • 7

    #2
    Attached sample DB;-

    Cheers
    Darren
    Attached Files

    Comment

    • munkee
      Contributor
      • Feb 2010
      • 374

      #3
      Worked flawless, good job

      Thanks

      Comment

      Working...