Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>file Protocol<br> Opens a file on a local or network drive. </p> <p>Syntax </p> <pre><code>Copy file:///sDrives[|sFile] Tokens </code></pre> <p>sDrives<br> Specifies the local or network drive.</p> <p>sFile<br> Optional. Specifies the file to open. If sFile is omitted and the account accessing the drive has permission to browse the directory, a list of accessible files and directories is displayed.</p> <p>Remarks </p> <p>The file protocol and sDrives parameter can be omitted and substituted with just the command line representation of the drive letter and file location. For example, to browse the My Documents directory, the file protocol can be specified as file:///C|/My Documents/ or as C:\My Documents. In addition, a single '\' is equivalent to specifying the root directory on the primary local drive. On most computers, this is C:. </p> <p>Available as of Microsoft Internet Explorer 3.0 or later. </p> <p>Note Internet Explorer 6 Service Pack 1 (SP1) no longer allows browsing a local machine from the Internet zone. For instance, if an Internet site contains a link to a local file, Internet Explorer 6 SP1 displays a blank page when a user clicks on the link. Previous versions of Windows Internet Explorer followed the link to the local file. </p> <p>Example </p> <p>The following sample demonstrates four ways to use the File protocol. </p> <p>Copy</p> <pre><code>//Specifying a drive and a file name. file:///C|/My Documents/ALetter.html //Specifying only a drive and a path to browse the directory. file:///C|/My Documents/ //Specifying a drive and a directory using the command line representation of the directory location. C:\My Documents\ //Specifying only the directory on the local primary drive. \My Documents\ </code></pre> </blockquote> <p><a href="http://msdn.microsoft.com/en-us/library/aa767731" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa767731</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload