JSI Tip 0067 - Want to map a drive letter to a sub-directory without creating a share?

Type SUBST /? at a command prompt for syntax. Here are some examples:

subst h: \\ServerName\User$\%username% where User$ is a hidden share of the main users directory and %username% represents the users sub-directory and is not shared.

subst x: c:\temp where temp is a local directory on local drive c:. subs x: \\ServerName\C$\DirectoryName\SubDirectoryName where C$ is a hidden administrative share and DirectoryName and SubDirectoryName are not shared.

You can not SUBST a network drive on W95.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.