[Last Call] Learn how to a build a cloud-first strategyRegister Now


Can I create clickable links to documents without using drive letters?

Posted on 2009-04-16
Medium Priority
Last Modified: 2012-05-06
I have a stack of flash drives and have learned a little about Autorun.inf. When I plug in the drive, I have figured out how to auto-launch a PDF, but I want that PDF to have links to documents on the drive. Is there a way to have links to documents on the drive without using drive letters (as these drives will go to multiple machines with no way to know what drive letters are available)? Currently, I have the drive Autorun configured to define an Icon, define a drive name (not letter) and launch a PDF.

Also, I assume that the autorun functionality is limited to Windows (not functional on Macs), right?

Question by:TREKrider
LVL 11

Expert Comment

by:Chris Gralike
ID: 24162516
What does the link look like at this moment?
LVL 63

Accepted Solution

☠ MASQ ☠ earned 700 total points
ID: 24162524
Yes, use relative links based on the location of the PDF

Assisted Solution

HSWENT earned 300 total points
ID: 24162528
You could try to create an HTML file that links to multiple docs on your drive. When you create hyperlinks and use a relative path for the url of each link, the browser will automatically render the whole path.

Try this: Create two files on your desktop as a proof of concept.
One called test.html
one called test.txt

I scrambled some quick code together in the attached Code Snoppet.

When I viewed test.html in a browser (ie 7) I observed that the link was automatically formed with the correct drive letter and path to the test.txt file...
<a href="test.txt">test.txt</a>

Open in new window


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question