Disconnecting Mapped Drives
From: Robin (diilbert_at_techemail.com)
Date: 07/05/04
- Next message: David Mair: "Re: Disconnecting Mapped Drives"
- Previous message: Russell Hind: "Re: Problem reading file"
- Next in thread: David Mair: "Re: Disconnecting Mapped Drives"
- Reply: David Mair: "Re: Disconnecting Mapped Drives"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 05 Jul 2004 11:54:22 -0400
When the user Ends Session I want to be able to disconnect all Mapped
drives.
I am using the WM_QUERYENDSESSION message to run a shellex to do the
following
net use * /d /y
But the command never runs and the mapped drives stay connected. I
thought that I could stall the shutdown/restart run the command then
continue with the Shutdown/Restart. However I am unable to determine what
the original request was (Shut down or restart). Everything works except
what I just mentioned.
Is there a way to disconnect mapped drives at End Session that I am over
looking?
Thanks in advance,
Robin
-- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
- Next message: David Mair: "Re: Disconnecting Mapped Drives"
- Previous message: Russell Hind: "Re: Problem reading file"
- Next in thread: David Mair: "Re: Disconnecting Mapped Drives"
- Reply: David Mair: "Re: Disconnecting Mapped Drives"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading