2006-09-27

Removing multiple shares

Categories: tech

If you have a folder containing multiple subfolders which are shared and you want to unshare them. Go to the folder and use this:

for /d %v in (*) do net share "%v" /delete