title: Batch script to copy folder not working
body: <p>I wish to setup a batch file to copy a folder (from the same location of the batch file) to the Microsoft folder in C:\Users\username\AppData\Roaming to be used by Outlook for email signatures.</p>
  
  <p>The batch file currently looks like: </p>
  
  <pre><code>@echo off
  
  ROBOCOPY \Files "%userprofile%\AppData\Roaming\Microsoft" /COPYALL /MIR
  regedit.exe /s Setup-File-Linking.reg
  </code></pre>
  
  <p>It imports the registry setting fine, but does not copy the "Signatures" folder across.</p>
  
  <p><strong>I have the wrong source path.  How do I make it relative to where the script is being run from?</strong></p>
  
  <p>In the folder where the batch file is run from, the file structure looks like:</p>
  
  <pre><code>FOLDER
  |- Run Me!.bat
  |- Setup-File-Linking.reg
  |- Files *(dir)*
     |- Signatures *(dir)*
        |- emailsignature.htm
        |- emailsignature.rtf
        |- emailsignature.txt
        |- emailsignature_files *(dir)*
           |- colorschememapping.xml
           |- filelist.xml
           |- themedata.thmx
  ___
  </code></pre>
  
  <p>.</p>
  
  <p><strong><em>--- EDIT ---</em></strong></p>
  
  <p>I added <code>pause</code> to the end of my script to see any errors.
  A screenshot is below.  I've edited my question above to suit.</p>
  
  <p><img src="https://i.stack.imgur.com/quM03.png" alt="enter image description here"></p>