title: Why am I getting three outputs when I have a space in batch variable?
body: <p>The code is intended to be a simple symbolic link creator for the test.tx file, but when I run it I get three outputs:</p>
  
  <pre><code>mklink "H:\Backups\Batch Files\Batch" "H:\Backups\Batch Files\File System\test.txt"
  mklink "H:\Backups\Batch Files\File" "H:\Backups\Batch Files\File System\test.txt"
  mklink "H:\Backups\Batch Files\test.txt" "H:\Backups\Batch Files\File System\test.txt"
  </code></pre>
  
  <p>Script:</p>
  
  <pre><code>@Echo off
  
  set "src=H:\Backups\Batch Files\File System\test.txt"
  set "des=H:\Backups\Batch Files"
  
  FOR %%A IN (%src%) DO (echo mklink "%des%\%%~nxA" "%src%")
  
  timeout 30
  </code></pre>