title: batch file to share folders in windows 7
body: <p>What would be the easiest way to run a batch / script file in Windows 7 to share 30 folders, each to a different user? They must write their backups over the network to this one PC standing separately with a huge HDD on which there is 30 folders.</p>
  
  <p>Each person has his/her own folder to which he/she must get full access, but nobody else. Apologies but I'm new to Win7 and scripting.</p>
  
  <p>Powershell? It must e.g. create the share John$, on the folder C:\John, with permissions = person John only, who has userid XYZ12345 on our network. And then for the other 29 people too, each with their own folder name and user id.</p>
  
  <p>Trust me, I really did try to browse around but I'm getting more and more confused.</p>
  
  <p>Much appreciated.</p>