NET USE /DELETE actually deletes files from server

  • Thread starter Thread starter tconley
  • Start date Start date
T

tconley

I have a bunch of users that have folders on a server , in this case
\\batman\documents\username

I have a script that maps a network drive to that based on their
username, when the script runs I'm calling NET USE Z: /D or /DELETE to
disconnect any network drive on Z, but for some reason after trying
this a few times that files and the folder "username" are completely
gone off the server! Any ideas?

Its a win2k server and the script is being run on a winXP client.
 
In
I have a bunch of users that have folders on a server , in this case
\\batman\documents\username

I have a script that maps a network drive to that based on their
username, when the script runs I'm calling NET USE Z: /D or /DELETE to
disconnect any network drive on Z, but for some reason after trying
this a few times that files and the folder "username" are completely
gone off the server! Any ideas?

Its a win2k server and the script is being run on a winXP client.

I have never seen this happen. Can you reproduce it at will?
 
I use that same command in a number of login and program access scripts and
have never seen the behaviour you are seeing.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ... http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm
 
Back
Top