title: VBScript - Unmount USB drive
body: <p>I have a tedious project coming up.  I need to insert an USB flash drive into a computer, then copy over three files to that drive, and then unmount it and repeat 3000 times (literally).  I was hoping to come up with some VBScript that can reduce my actions to just</p>
  
  <ol>
  <li>insert the USB flash drive,</li>
  <li>double click on the .vbs file,</li>
  <li>remove the USB flash drive.</li>
  </ol>
  
  <p>I figure it isn't too difficult to come up with the copy and paste part of the code as long as I am inserting the USB into the same port every time.  Is this assumption correct? However, the real problem is unmounting/ejecting the USB drive.  Is there any simple VB Script code that can accomplish this?</p>