Mapping Network Drives with UNC Paths in Windows 95
Windows 95 revolutionized PC networking by introducing native 32-bit architecture and seamless support for Universal Naming Convention (UNC) path names. This article explains how Windows 95 handled UNC paths, the mechanism used to map these network paths to traditional drive letters, the graphical and command-line interfaces provided to users, and how the underlying operating system resolved network resources for legacy and modern software.
The Shift to Native UNC Support
Prior to Windows 95, networking in MS-DOS and Windows for Workgroups
relied heavily on real-mode network redirectors, which generally
required assigning a physical drive letter (such as D:
through Z:) to access shared folders. Windows 95 introduced
a 32-bit protected-mode network architecture, centered around the
Installable File System (IFS) Manager and the Microsoft 32-bit
redirector (VREDIR.VXD).
This architecture brought native support for UNC paths formatted as
\\server\share\path. For 32-bit applications designed for
Windows 95, users could open, save, and execute files directly using the
UNC string without ever assigning a local drive letter.
Mapping UNC Paths to Drive Letters
Despite native UNC capabilities, drive mapping remained essential for backward compatibility with 16-bit Windows and DOS applications that could only recognize standard drive letter syntax. Windows 95 handled UNC drive mapping through two primary interfaces:
- Windows Explorer and Network Neighborhood: Users
could right-click the "Network Neighborhood" icon or any shared folder
and select "Map Network Drive." This opened a dialog prompting the user
to select an available drive letter from a drop-down list and specify
the target UNC path (
\\computername\sharename). Users could also check a "Reconnect at logon" box to make the mapping permanent. - The Command Line (
NET.EXE): The legacy command-line syntax remained fully functional within the MS-DOS prompt. RunningNET USE Z: \\SERVER\SHAREbound the UNC target to the specified virtual drive letter.
System Architecture and Routing
When a network drive was mapped using a UNC path, Windows 95 managed
the relationship through the Multiple Provider Router (MPR) and network
provider dynamic link libraries (such as MSNET32.DLL for
Microsoft Networks or NWNET32.DLL for NetWare
networks).
The process functioned through the following steps:
- Registration: When a mapping was created, the
operating system associated the local drive letter with the designated
UNC string in memory and updated the system registry under
HKEY_CURRENT_USER\Network\Persistentif the connection was set to reconnect on startup. - I/O Redirection: When an application sent a file
system request directed at a mapped drive letter (e.g.,
Z:\DATA\FILE.TXT), the IFS Manager intercepted the request, recognized that the letter pointed to a network redirector rather than a local disk controller, and translated the call into the underlying UNC destination. - Name Resolution and Transport: The redirector resolved the server name portion of the UNC path via NetBIOS. Depending on the installed network protocols, this resolution occurred over NetBEUI, IPX/SPX, or NetBIOS over TCP/IP (NBT) using local subnet broadcasts, an LMHOSTS file, or a WINS (Windows Internet Name Service) server.
- Execution: Once the host address was resolved, the redirector established a Server Message Block (SMB) session with the target machine to access the share and perform the requested read or write operations.