ms dos - Bat file Disconnecting a network drive if it exists -
i need help.
how can batch file written check see if network drive connected , if ask user y/n delete it?
something along these lines...
if exist n:\. goto network goto :eof :network set /p remove=remove network (y/n) if !%remove%!==!y! net use n: /delete
Comments
Post a Comment