title: Batch file - Switch USB from read/write to read-only and vice versa
body: <p>I was wondering if you can write a Batch file to make a USB from read/write to read-only and visa versa?</p>
  
  <p>What the program should do is, if you double click on the batch file it searches for the USB drive, check if it is read/write or just read-only then swaps it to the other setting.</p>
  
  <p><em>EDIT</em>
  I know the name of the USB and also the drive letter.
  <em>EDIT</em></p>
  
  <p>I need this for work where we use USB drives to install programs on peoples laptops, we used CD's before, but they get lost inside.</p>
  
  <p>Code would be appreciated, but directions to sites will help as well.</p>