Reply to Thread

Post a reply to the thread: How do I get the local drive from a UNC setting?

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 12-15-2008, 08:57 AM
    Darrel Witham

    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
  • 12-12-2008, 08:50 AM
    linder

    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
  • 12-12-2008, 02:37 AM
    linder

    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
  • 12-11-2008, 11:48 AM
    Darrel Witham

    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.

Posting Permissions

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