title: WinSCP cannot access remote C:\Windows\Temp directory
body: <p>I am trying to copy from one Windows 7 system to another. I want the destination directory to be <code>C:\Windows\Temp</code>. If I omit the destination directory, it copies the file to the remote computer's home directory for "myuser". Great, but I can't get it to copy to <code>C:\Windows\Temp</code>. User "myuser" has permission to write to <code>C:\Windows\Temp</code>. I tried different formats for the destination directory: <code>C:\Windows\Temp\</code>, <code>/Windows/Temp/</code>, etc.</p>
  
  <p>Here is the command:</p>
  
  <pre><code>winscp.exe /command "option batch abort" "option confirm off"   
  "open myuser:mypassword@myhost" "put myfile /Windows/Temp/"
  </code></pre>
  
  <p>I also tried using the <code>cd</code> command to set the working directory, but it still would not copy the file:</p>
  
  <pre><code>winscp.exe /command "cd C:\Windows\Temp" "option batch abort" "option confirm off"  
  "open myuser:mypassword@myhost" "put myfile "
  </code></pre>
  
  <p>Thanks for any help.</p>