[geeks] Nerdy scripting help...
Eric Railine
erailine at gmail.com
Wed Oct 13 22:02:46 CDT 2010
On Wed, Oct 13, 2010 at 5:15 PM, Jonathan J. M. Katz <jon at jonworld.com>wrote:
> For loop that looks for files fitting a certain file name
> Checking contents of that file.
> Rename file based on contents.
>
So, something like this?
for %i in (*.xml) do findstr "</Audit>" %i && move %i %i.done
(That's interactive, of course; to run it as a script add a second % in
front of each variable.)
-Eric
More information about the geeks
mailing list