Page 1 of 1 1
Topic Options
#126022 - 2004-09-01 08:33 PM use f: /del doesn't remove mapped drives
Micke Offline
Lurker

Registered: 2004-09-01
Posts: 1
We used batch scripts to map drives in our win 2000 network. When I now use kix to map drives it doesn't remove my old connections. I then put in the net use f: /d in the batch script and it then worked out.

I know that this shouldn't be any problem but it happend on about 50 computers so I wonder if someone know if its a bug or what it can be. I map the drives thru a script which uses ingroup.

if ingroup...
use f: /delete
use f: \\server\drive


Top
#126023 - 2004-09-01 10:08 PM Re: use f: /del doesn't remove mapped drives
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
More than likely, you need to add a /PERSISTENT switch in addition to the /DELETE to remove these mapped drives..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#126024 - 2004-09-02 03:58 PM Re: use f: /del doesn't remove mapped drives
Anonymous
Unregistered


Thx it works!

When I look in cmd with net use command and I have connected to I: it says connected. When I then use

USE I: /del

and then type net use, it says I: not availble, and I cant see it under my computer. If I then try to use

USE I: /Del /Persistent

It dissapear totaly from net use view. Thats good. The strange is, even if I use

USE I: \\server\share /Persistent:no
USE I: /del

It says not available when I type net use. Doesn't Persistent:no works with kix, I think I have read i should?

Top
#126025 - 2004-09-02 04:00 PM Re: use f: /del doesn't remove mapped drives
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
The Persistent switch does not work the same with KiX USE as it does with NET USE.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#126026 - 2004-09-02 04:04 PM Re: use f: /del doesn't remove mapped drives
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Yes, and no ...

'Persistent:no' would be the same as ommiting it completely in kix ... so only use /persistent if you want it persistent and omit if you want it non-persistent...

What happened might be that it ignored the :no part and made it persistent
_________________________



Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 139 anonymous users online.
Newest Members
vertage, dimi575, Drecksnacken, Nlill, webtools321
17735 Registered Users

Generated in 0.031 seconds in which 0.013 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org