Search found 2 matches

by OldskoolOrion
May 1st, 2016, 8:01 pm
Forum: Post-Processing Scripts
Topic: Help with creating a move script
Replies: 3
Views: 4198

Re: Help with creating a move script

maybe not the nicest readable .. what was I thinking.. there's the /D switch as well.. sorry I'm a bit tired :-) above does work, but it's not the shortest, nicest, and lotsa tokens and switches to think of : @ECHO ON & CLS SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION FOR /D %%a IN (D:\SOURC...
by OldskoolOrion
May 1st, 2016, 7:40 pm
Forum: Post-Processing Scripts
Topic: Help with creating a move script
Replies: 3
Views: 4198

Re: Help with creating a move script

from the top of my head you would want something like the following in your batch file : for /f "tokens=*" %%a in ('dir d:\source\*searchterm* /b/a:d') do move d:\source\%%a d:\destination\ replace searchterm with the string you are looking for.. d:\source\ and d:\destination of course wit...