title: Login scripts - Powerpoint
body: <p>I have a simple login script that will pull another .bat where it will point to our powerpoint template. </p>
  
  <p>Problem is, whenever I use the below, I always get a popup on the second instance which is meant to be hidden, as you can see <code>-y</code> doesn't hide it. I've tried a min before <code>xcopy</code> but that causes errors and my knowledge of this is rather limited.</p>
  
  <p>Below is the code:</p>
  
  <p>login script:</p>
  
  <pre><code>@echo off
  REM Copy Powerpoint default template to user profile
  
  xcopy "\\wsfile01\AppData\Microsoft Office Templates\Blank.potx" "\\nebula\public\Ldn_town\%username%\AppData\Roaming\Microsoft\Templates" /Y 
  
  exit
  </code></pre>
  
  <p>I appreciate that we are copying from network to network and this may seem daft but all our profiles sit on a local server for each satellite office.</p>
  
  <p>Any help would be much appreciated.</p>