[lug] net use /disconnect

Tkil tkil at scrye.com
Thu Apr 22 21:48:08 MDT 2004


>>>>> "Ben" == Ben Luey <lueyb at jilau1.Colorado.EDU> writes:

Ben> The command net use //server/public \delete isn't working:

Uh.  No idea what is going on if that's on a Linux command line, but
on windows, you need backslashes in the share name and forward slashes
for options.  So it should be:

   net use \\server\share /delete

(Althought just "/d" should work).

Although I must say that I've never dealt with "naked" UNCs like that
before.  I always map them to a drive letter:

   net use x: \\server\share /u:user password

Then I delete by drive letter:

   net use x: /d

t.




More information about the LUG mailing list