I haven't created the actual files yet. Was planning ahead. Figuring that, of course, it would take any programmer a week or so to come up with something. That is, if they could at all.
I didn't figure on Skwire completing the task in a few hours....
However, I do have a list of the files that should result. Here is a partial list:
50501_20104_21901.png
50501_20104_21902.png
50501_20104_21903.png
50501_20104_22001.png
50501_20104_22002.png
50501_20104_22003.png
50501_20104_22004.png
50501_20104_22005.png
50501_20104_22006.png
50501_20104_22101.png
50501_20104_22102.png
50501_20104_22103.png
There will be 16,110 of these image files. Let's assume that all these image files are held in the folder:
c:\contour plot images\
Pairing up the second and third sections of each file name -- these two variables are the x and y in a contour plot.
The first section of the file name, 50501 here, is the z variable in the contour plot.
It's the second and third sections of each file name that I want to focus on in providing shortcuts.
There are a total of 180 variables in the second and third name-section combinations.
So the task, for instance, if 20104 is mentioned in the filename, create subdirectory 20104, and make a shortcut in that folder to the image file which contains its name:
c:\contour plot shortcuts\20104\50501_20104_21901.png.lnk (i.e., a shortcut)
etc.
In the 21901 folder will appear the exact same shortcut, because 21901 is mentioned in the filename:
c:\contour plot shortcuts\21901\50501_20104_21901.png.lnk (i.e., a shortcut)
etc.
There will be 180 shortcut folders. And 180 shortcuts in each folder. (Maybe 179, actually.)
Using File Punter..., 180 lines of commands, one for each of the variables.
c:\contour plot images\ *20104* c:\contour plot shortcuts\20104 No No
c:\contour plot images\ *21901* c:\contour plot shortcuts\21901 No No
etc.
Pretty straight forward.
Only issue will be getting tabs between the component parts of the commands in the text file which will be imported by File Punter. I'm assuming that tabs as delimiters are indeed needed (as opposed to spaces). Please mention if that's not the case. I think it would have to be, because of spaces being in the file path. Hmmm. What's the easiest way to get tabs between the component parts?