I tried the following two both with and without the /v. Don't see /v documented in help, but it didn't say invalid switch. Verbose?
xcopy "C:\Program Files\USAPhotoMaps\USAPhotoMapsData\u%1*.* F:\USAMaps\USAPhotoMapsData\" /v
xcopy "C:\Program Files\USAPhotoMaps\USAPhotoMapsData\u%1*.*" "F:\USAMaps\USAPhotoMapsData\" /v
Still uses the short name.
With only one set of quotes like you had it said "invalid path", which kinda makes sense. I figured you really meant 1 set of quotes around each path.
Yes, the "u" is part of the file name.
Naming convention is xnnymmmmm
x is one of 6 letters.
nn is a number between 10-19 inclusive
y is a constant "y"
mmmmm is a 5 digit sequential number
I want to copy all the files for xnn from one directory to another.
*******************************
WARNING!
<begin rule_violation="keep it short">
*******************************
You don't have to read this if you don't want, but here's the gory details.
I am downloading files from Terraserver using UASPhotoMaps and Terrafetcher.
x It creates a separate set of files for each image type (B&W photo, Topo and color Urban photo). For each of those, there are two sets, one for each of the two resolutions. That's 6 sets, denoted by the six different letters the files begin with.
nn Then, each set is divided into a set for each UTM zone 10-19.
y Just to keep the 2 numbers apart, I guess.
mmmmm Then there's a separate file for each row of tiles downloaded. Several thousand for each zone. I now have about 80,000 files. (Actually, for the higher resolutions this can be as much as 8 digits)
When the project progresses, and especially when I create two converted versions (georeferenced .jpgs and geoTiffs) these files will take up WAY more than I can fit on my little 200GB disk, so I need to spread them out to several 500GB drives. Screwy part is, the programs will only read and D/L from the installed drive.
SO, I want to be able to copy an entire zone onto the install disk while I work on it. AND have the option of copying in 2 zones to work between them both. Then copying one or both back to work another place. Hence passing the zone as a parameter. I only showed one statement, but there'll actually be 6 copy statements, one for each of the 6 letters.
If someone doesn't come up with a solution, I may just create a directory for each zone and then just have to limit myself to working on one zone at a time.
-dan