+ Reply to Thread
Results 1 to 4 of 4

Thread: How do I get the local drive from a UNC setting?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default How do I get the local drive from a UNC setting?

    We install our product’s database on a server, on the local drive ?, under the shared folder \XXX. For some reason (before my time), we required the customer to map a new drive to the local drive ?, shared folder \XXX. We have introduced some services that need to be installed on the local drive ?, shared folder \XXX. Our product's shortcut Start In folder is ‘MappedDrive’:\TTG. I can get the UNC setting but need the local drive letter and shared folder name. Is there a way to get the local drive and shared folder name from a mapped drive’s UNC setting with SetupBuilder or is there another way? The drive letters and shared folder names are arbitrary.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: How do I get the local drive from a UNC setting?

    Darrel,

    Good question. We can use the the "UNC From Network Drive Letter" function to convert the network drive letter to UNC format share.

    For example, this converts from G: to \\server\share

    But you would like to look up the UNC path for mapped drives ( e.g. convert \\server\share to G: ).

    We'll check if it is possible to add a function to SetupBuilder to handle this.

    Friedrich

  3. #3
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: How do I get the local drive from a UNC setting?

    Darrel,

    We gave it some thoughts. Just to make sure I understood you correctly.

    You would like to look up the UNC path for mapped drives ( e.g. convert \\server\share to G: ).

    Friedrich

  4. #4

    Default Re: How do I get the local drive from a UNC setting?

    Friedrich - yes that is correct - I need the fixed drive letter of the UNC setting.

    Darrel

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •