- Jun 3, 2002
- 64
- 0
- 0
I have written a batch file that deletes all mapped drives and then maps them. I wrote and placed this in the startup group to get around a disconnected network drive issue I was having. This is deployed on quite a few systems, and thus I don't want the end use to have to interact with it at all. At one point on some of the deletions, a message comes up that says there is an open connection on the drive it is trying to delete, do I want to close it. If I type y and hit enter, it closes it, however if I do nothing the batch file just hangs. Is there anyway to automate it, so that if the question appears, which it only does intermitently, it automatically answers yes?