New
#1
Need solution automate setting a share
Good day!
Was wondering if anyone knows of a way to write a batch file to set up a network share on a drive with a single click.
I have an encrypted container for bookkeeping and financial stuff that when mounted, needs to be accessible from another computer on LAN.
Any settings for a share are, of course, lost on dismount so each time I have to go to the drive/sharing/advanced sharing. There I remove "everyone" and replace with "NETWORK" will all permissions.
I'm lazy.
I would love to have a batch file, script that when clicked after mounting said drive will apply all the necessary share settings for me on the specific drive letter I always assign to that drive.
Anyone know if or how this can be done?
Thanks much.