title: Creating and writing lines to a file
body: <p>Is it possible to create a file and write lines to it in vbscript?</p>
  
  <p>Something similar to <strong>echo in bat</strong> file (<code>echo something something &gt;&gt;sometextfile.txt</code>).</p>
  
  <p>On execution of the vbscript depending on the path of the script would create an autorun.inf file to execute a particular program (<strong>\smartdriverbackup\sdb.exe</strong>).</p>
  
  <p>Also how can I strip/remove the drive letter from the complete file path?</p>