Microsoft KB Archive/89719

= WFWG Server Cannot Share Virtual Drives =

Article ID: 89719

Article Last Modified on 10/12/2003

-

APPLIES TO


 * Microsoft Windows for Workgroups 3.1
 * Microsoft Windows for Workgroups 3.11

-



This article was previously published under Q89719





SYMPTOMS
The following error message appears if a Windows for Workgroups server is attempting to share virtual drives created using the MS-DOS SUBST command:

The specified drive letter or device is invalid. If you specified a drive, it may be past the value specified by the LASTDRIVE command in the CONFIG.SYS file.



CAUSE
Sharing virtual drives is not supported under Windows for Workgroups.



WORKAROUND
The only way to properly share a directory with Windows for Workgroups is to share the actual directory as specified in the Windows for Workgroups documentation.



MORE INFORMATION
The SUBST command allows you to specify a drive letter for a PATH, which enables easier access to programs and data files. In Windows for Workgroups, these virtual drives cannot be shared.

Steps to Reproduce Problem
  Add the following commands to the AUTOEXEC.BAT file: SUBST X: C:\DOS SUBST Y: C:\WINDOWS SUBST Z: C:\ (The above directories are an example; you can use any directory.)   Add the following command to the CONFIG.SYS file: LASTDRIVE=Z  Restart the computer, then start Windows for Workgroups. From the Main Group, start File Manager. You should see drive icons for drive X, Y, and Z. Choose the drive X icon.</li> From the File menu, choose Share As.</li> Choose the OK button.</li> The following error message appears:

The specified drive letter or device is invalid. If you specified a drive, it may be past the value specified by the LASTDRIVE command in the CONFIG.SYS file.

</li></ol>

Steps to Properly Share a Directory
To share the C:\WINDOWS directory properly, do the following:


 * 1) Choose the drive C icon.
 * 2) From the directory tree, select the C:\WINDOW directory.
 * 3) From the File menu, choose Share As.
 * 4) Choose the OK button.

Additional query words: dblspace 3.10 3.11 SUBST Invalid Device err msg Lastdrive

Keywords: KB89719

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.