|Ok, this is what I'm up to so far:|
for /F "tokens=* delims= " %%g in ('dir/b') do (
for /F "tokens=* delims= " %%a in (%%g) do (
if !C! equ / move %%g c:\test
I'm only checking the first line, as if it is ok, the rest should be. I set up 3 fake files with only one have a / in the 23rd column, and that is the only file that is moved (which is what I'm looking for). If i tried echoing the line to a text file I got more lines than I had files?
Even though it is working, I'm trying to learn at the same time. Does this seem like what you were aiming me towards? or Should I do something different. Is the !C! a name for the columns? Or does this batch file set it to the columns?