Tutorials
CSS
Web Design
XHTML
Javascript
PHP

Web Design Tutorials
Embedding fonts
Page Redirection
Access Hard Drives
Avoiding Spam Mail
Editable Page Content
Copyright Basics
File Include
Mailto Links
Maintain Framesets
Show the Hard Drive
Link Status Description


More information

Access the local Hard Drive
How to access local drives.

Introduction.
This guide will show you how you can link to your local drives or drives on a Local Area Network for example.

Basic Code:

The code to link to hard drives uses the basic HTML link code:

<a href="file:///c:/">Access C Drive</a>

Result: Access C Drive

You can access any drives you wish with this method simply by replacing the drive letter:

A Drive, C Drive, D Drive, E Drive, Ficticious T Drive.


You can also use a form button instead of a text link. Simple place the link address into the form action:

<form action="file:///c:/">
<input type="submit" value="Access C Drive" />
</form>

Result:





Where can I use this? I use this as part of an active desktop. I use this same code to link to some important local and network drives which I need to access on a regular basis. It's better than a standard shortcut. Just one suggestion!

Discuss this in the Forum  

Search HeaphyDesigns



Stored Pages



Change Site Style
Select a style for the site:




More information