Atom290
(Lurker)
2003-04-08 01:27 PM
HELP!!!!

OK well Im a little new to all this and ive had the joy of installing a network. [Frown]

I need to clear out all of the current mapped network drives, but I dont want to delete the map to the profile, or the home drive.

Is there any way of enumerating the network maps?

I can find through FileAttr which are mapped but that just gives me a drive letter and I cannot delete the map using that.

Please someone help, before I get shouted at.


JochenAdministrator
(KiX Supporter)
2003-04-08 01:47 PM
Re: HELP!!!!

driveletter ?

is enough :

use driveletter: /delete


JochenAdministrator
(KiX Supporter)
2003-04-08 01:49 PM
Re: HELP!!!!

Oh yeah,

forgot to welcome you ...

So, WELCOME to the board !


JochenAdministrator
(KiX Supporter)
2003-04-08 01:52 PM
Re: HELP!!!!

Another hint (IF you use a newer version of KiX 4.*):

there are some udf's in the udf library that covers the drive letter listing and mappings :

UDF Search


Atom290
(Lurker)
2003-04-08 02:10 PM
Re: HELP!!!!

Many thanks for the warm welcome, and the prompt reply. I was using /del as it was in the manual.

Will try that and see how it works

Cheers for the help

The Atom


Howard Bullock
(KiX Supporter)
2003-04-08 02:22 PM
Re: HELP!!!!

If the drive were manually mapped with the "reconnect at logon" turned on, you will need to add the "/persistent" switch to the "USE" statement.

JochenAdministrator
(KiX Supporter)
2003-04-08 02:23 PM
Re: HELP!!!!

Indeed there is one sample with /del (mmm ... I think it should work also as I bet there should have been complaints before if not [Wink] )

Maybe you just need to add additionaly the /PERSISTENT switch ?

{dang ! beaten by Howard [Roll Eyes] Atom, you will see that quite often if you stay here [Wink] }

[ 08. April 2003, 14:25: Message edited by: jpols ]