title: How to copy files using vbscript in all local user's accounts i.e. Desktop,Documents, Pictures,Videos, Music
body: <p>OK so I am writing a super cool vbscript/HTA file. All i want to do is to </p>
  
  <p><em><strong>List all local users names in the computer in a list box ( I can do it already) and then
  For each user in the list box, copy their desktop,mydocuments,videos,pictures,music to a destination folder of my choice ( say d:\backupdestination)</em></strong></p>
  
  <p>Now most of the script IS working and i also know that I can use the &amp;H5&amp; type constants to access the special folders I mentioned above for the LOGGED-IN user i.e. the person running the script.</p>
  
  <p>Now I donot know where the other users profile files are, they could be in c:\users\John ( the usual vista/win 7) OR they could be anywhere on the disk ( maybe john moved his profile to d:). </p>
  
  <p><em><strong>So I just need to know how to tell the script to copy all the user profiles on the computer to my chosen destination.</em></strong></p>
  
  <p>The code below for example copies My Pictures folder for the CURRENT, LOGGED-IN user, how do I modify it so it copies all users' profiles?</p>
  
  <pre><code>Const MY_PICTURES = &amp;H27&amp;
  Set objShell = CreateObject("Shell.Application")
  Set objFolder = objShell.Namespace(MY_PICTURES)
  Set objFolderItem = objFolder.Self 
  Wscript.Echo objFolderItem.Name &amp; ": " &amp; objFolderItem.Path 
  </code></pre>
  
  <p>Any help will be appreciated !!!!!!!! thx.</p>
  
  <p>Merci.</p>
  
  <p>Le Prince De Dhump</p>