If you share a directory named C:\UTIL with a share name of UTIL on the server PC1. Then the NET command to map this as G:\ on the client PC is: "NET USE G: \\PC1\UTIL" The command "NET USE G: \\PC1\C\UTIL", as shown in your example, returns an error 50 because "C\UTIL" is not a legal share name. Paul > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Russell McMahon > Sent: Monday, August 12, 2002 8:50 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: [ot]: How do you map a network subdirectory as adrive > > > Help !!! > Comprehensiveish Googling fails to answer this. > A friend is trying to replicate an arrangement on a 2 PC WIN95 > network that > worked OK until he changed one PC. > > Anyone have an idea how to map a subdirectory on a WIN95 networked PC as a > drive on another PC. > > ie he wants to make C:\UTIL on a "remote" PC appear as eg G: on his local > PC. > > NET USE returns error messages when trying to map beyond remote > drive level > (despite the examples given by NET USE /? and SUBST won't work on network > drives. > > According to NET USE /? the following should work. > > NET USE G: \\PC1\C\UTIL > > where G: = drive to map as C:\UTIL on PC1 > PC1 is remote PC name > C: is share name (drive) on remote PC > UTIL is a subdirectory on PC1 C: > > Using NET USE G: \\PC1\C: > works OK but adding the subdirectory reference returns Error 50. > > I am trying this between two WIN98E PCs but what I read on > internet suggests > it also doesn't work in WIN95 > > Any ideas? > > > Russell McMahon > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.