Quote:FilenameWithPath="%LDRAWDIR%\PARTS\95342.dat"
Bit of a nitpick, but 'path' is already including the filename. forexample:
"c:\this is\some very\cool file.txt"
path: "c:\this is\some very\cool file.txt"
filename: "cool file.txt"
folder: "c:\this is\some very" or "c:\this is\some very\" depending on os I think, i'm not really sure about that.
On a side note: are those values always using '\' or will that be os depended? It might be a good idea to document that ether way (also using the trailing \ yes/no).
Just my 2cts