title: Task Scheduler error 0X1 How can I solve this?
body: <p>I write a bat file to copy .zip to another location. The file copy from localhost to another pc.(the disc is defined as <strong>R</strong>)</p>
  
  <p>I wrote this commands:</p>
  
  <pre><code>@echo off 
  move /Y "C:\xx\yy.zip" R:\xx
  cd /D R:\xx\
  For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c%%a%%b)
  For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
  ren "yy.zip" "yy%mydate%_%mytime%.zip"
  </code></pre>
  
  <p>The problem is in the task scheduler is I set folder location,and select bat file, and ** I set run whether user log on or not** and <strong>select high privileges</strong> then it gives <strong>0X1</strong> error. But if I deselect <strong>whether user log on or not</strong> tick it works. But I need to tick it </p>
  
  <p>How can I solve this?</p>
  
  <p>thanks in advance</p>