Lanys Forums
http://www.lanysboard.com/forums/

DOS batch file problem, move a list of files to another dir
http://www.lanysboard.com/forums/viewtopic.php?f=8&t=8052
Page 1 of 1

Author:  varanlorax [ Thu May 20, 2010 11:47 AM ]
Post subject:  DOS batch file problem, move a list of files to another dir

I have a dir with ~29,000 jpgs in it. Some of these jpgs have been tiled and some haven't been. I have a list of 15,000 or so that have been tiled. I want to do a dos batch to loop through this text file and move each of the untiled jpgs to a new directory.

for /f "tokens=1" %%i in (d:\historicals\bin\jpgs_2_b_tiled.txt) do move d:\historicals\ci\jpgs_to_be_tiled

That seems pretty close I'm just missing the plug in the variable for the move part. hmm.

Author:  Neesha the Necro [ Thu May 20, 2010 12:46 PM ]
Post subject:  Re: DOS batch file problem, move a list of files to another dir

Time to delete those old pictures of Stacy Sanches.

Author:  varanlorax [ Thu May 20, 2010 1:02 PM ]
Post subject:  Re: DOS batch file problem, move a list of files to another dir

I wish, its the Historical Map and Chart Collection, yawn.

Almost have it....

edit- Got it!, never mind.

And if you're really bored:
http://historicalcharts.noaa.gov/historicals/historical_zoom.asp

We have a new version coming uh sometime this summer.

Author:  Neesha the Necro [ Thu May 20, 2010 1:23 PM ]
Post subject:  Re: DOS batch file problem, move a list of files to another dir

Pretty neat stuff, but that definitely ain't Stacy.

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/