Jump to content

Recommended Posts

Guest blinkyjesus
Posted

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

  • Replies 0
  • Created
  • Last Reply

Popular Days

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...