MY circuit-board CAD package generates Gerber files with a non-standard filenames, all with the .GBR extension. I've been getting around this for many years by simply including a text file added within the .ZIP file that maps the filename to the layer name. However, this is becoming unworkable in this modern age of automated circuit board ordering.
All of the files from the CAD package are contained in a .ZIP file. In my old DOS days, I would use a batch file to create a temporary folder, extract the ZIP files into that folder, use a bunch of "if exist (filename.extension) ren (new-filename.new-extension)" statements, then create a new .ZIP file. Finally, over-write the original .ZIP file and delete the temporary directory.
I'm hoping that some bright person can tell me how I might go about doing all of that inside the original .ZIP file. I don't know if such a thing is even possible but I figured that this was a great place to find out.
If that is NOT possible, can someone give me advice on how to use PowerShell to accomplish this?