title: how to reference home folder on visual basic script
body: <p>Let me start by saying that I'm a linux guy and not really familiar with VBS or even windows global variables.</p>
  
  <p>I'm being called upon to update a VBS script which basically copies the latest version of a access form to the computer.   Currently it puts this access form in C:\MedMaint.   The problem is that we do not run as administrators in this location. So when a new user tries to access the vbs script, the folder must be deleted by the original user.  I need to change this script to the linux equivalant of  ~/MedMaint, or "C:\Documents and Settings\MyUserName\Application Data\MedMaint"</p>
  
  <p>Here is a sample of the code</p>
  
  <pre><code>    If Not FSO.FileExists("c:\MedMaint\" &amp; File.Name) Then
          FSO.CopyFile File.Path, "c:\MedMaint\"          ' copy the missing file
      Else 
          Set RPFile = FSO.GetFile("c:\MedMaint\" &amp; File.Name)    ' Get the file object from the local object
          If (File.DateLastModified &gt;= RPFile.DateLastModified) Then
              FSO.CopyFile File.Path, "c:\MedMaint\" 
  </code></pre>
  
  <p>I would like to know how to change the c:\MedMaint\ reference to the user's home dir </p>