Thanks for the help aGerman.
That Got it.
Snake Eyes
Search found 2 matches
- 01 Feb 2011 15:40
- Forum: DOS Batch Forum
- Topic: Trying to use Move vs. Xcopy in a batch file
- Replies: 3
- Views: 4336
- 01 Feb 2011 15:16
- Forum: DOS Batch Forum
- Topic: Trying to use Move vs. Xcopy in a batch file
- Replies: 3
- Views: 4336
Trying to use Move vs. Xcopy in a batch file
Greetings All. I have the following batch file that returns the error "The syntax of the command is incorrect." @echo off cls setlocal enabledelayedexpansion set /a rand=%random%%%176+1 pushd M:\Wallpapers 1 set nbr=1 for /f "delims=*" %%1 in ('dir /a-d /b *.jpg') do ( set file=%...