Get the App
SLTechnology News&Howtos  ›  Development  › 

How to write a bat file that turns off default sharing

Shulou Source: shulou.com Published: 2022-06-03 08:33:01 11月15日 Update

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!

Tags: Documents content more knowledge practical successful learning next code dilemma reality situation articles cases editing websites industries processes high quality learning related Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Linux Microsoft Apple Shulou Tech Info