How to write a bat file that turns off default sharing
This article introduces the knowledge of "how to write bat files that are closed by default". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
The code is as follows:
@ echo off
Title www.yisu.com
Color 2b
Cls
Net share
Net share ipc$ / del
Net share c $/ del
Net share d$ / del
Net share e$ / del
Net share f$ / del
Net share admin$ / del
Echo default sharing has been turned off
Pause
This is the end of "how to write a bat file that turns off default sharing". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!