Guest blinkyjesus Posted October 8, 2019 Posted October 8, 2019 Want to use a simple command in a batch file: echo y| net use z: /delete > nul It should delete the z: drive mapping if it exists and *not* show the results of the command to the user. This was the case in XP and earlier. Now when i use the command it *does* display the results: The network connection could not be found. More help is available by typing NET HELPMSG 2250. I've tested on Server 2008 and Windows 7. Same result. Thoughts? More... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.