Mapping a drive in a command script

  • Thread starter Thread starter David Hamilton
  • Start date Start date
D

David Hamilton

In NT4, when delete and then map a network drive there was
no user interaction necessary. With Win2000, after the
network drive is mapped, there is a GUI window that
appears showing the files and folders in the mapped
drive. This interrupts the operation of the command
script and requires the user to minimize or close the
window.

Is there a way to suppress the display of the mapped drive
contents in general (Regedit) or from the command line? I
can't find any information about this from Knowledge base
or Google searches.

Any help or clue would be appreciated.

Thanks.
 
I have a batch file in my startup folder which maps several drives via:

net use h: /delete
net use h: \\server\share

etc.

When I log in a command window opens while the batch file runs, and as
long as my password is good on the server being mapped, that's all the
interruption I get.

Are you using a batch file? I wonder what else could be different.

Dave T.
 
David,

Thanks for your response. Your example is exactly what we
are trying to do - and have done succesfully in the past.

New research is even more confusing.

On my PC - which was a Win2000 upgrade from NT4 - I do not
get the folder display when deleting and then remapping a
drive. On a co-workers machine - which was a new Win2000
install - she does get the folder display on drives that
are mapped to a new driver letter.

If we delete an existing mapping and then remap that
letter to the same or a different location on the network,
then there is no folder display. If we use an unused
letter to map a network location, then the folder does
display on her PC, but not on mine!

I wonder if there is some interaction with the connection
timeout?

The customer's PC is a new Win2000 install, so I still
need to find an answer....
 
Back
Top