NET USE /DELETE actually deletes files from server


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.
 
Ad

Advertisements

L

Lanwench [MVP - Exchange]

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?
 
Ad

Advertisements

R

Richard G. Harper

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top