title: Batch moving files from folder to other folder issue
body: <p>I want to use a batch to move a file (image) from one folder to another. I have made it in the past successfully, but I don't know why it's not working.
  I'm not programmer but I had a friend help me with this. Previous time it was working, now not. Am I doing something wrong? Need to change something in the code? The coed I use is this:</p>
  <pre><code>@echo off
  setlocal EnableDelayedExpansion
  cd C:\Users\User\Dropbox\Artwork1
  set n=0
  for %%f in (*.*) do (
     set /A n+=1
     set &quot;file[!n!]=%%f&quot;
  )
  set /A &quot;rand=(n*%random%)/32768+1&quot;
  move &quot;!file[%rand%]!&quot; C:\Users\User\Dropbox\Artwork2
  </code></pre>
  <p>I'll obviously change the path files to the desired ones but is anything off with the code? Some months back it used to work.</p>
  <p>Thanks in advance.</p>