Use the PERSISTENT switch to NET USE. This can be set once for all NET USE
commands or on each command individually.
For example:
NET USE /PERSISTENT:NO
NET USE M: \\foo\bar
OR
NET USE X: \\foo\bar /PERSISTENT:NO
will prevent Windows from "remembering" these drive mappings the next
time
the user logs on.
HTH,
Doug
> -----Original Message-----
> From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On
> Behalf Of Steve Lee
> Sent: Tuesday, November 20, 2001 9:38 PM
> To: samba@lists.samba.org
> Subject: unmap shares
>
>
> I have currently setup a PDC, while
> a system logs in, it executes a batch
> script that maps some shares, However,
> they do not unmap after one logs off.
> how would i do that
>
> Thank you
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>