EDIT:
Here is version 2 of the script (attached).
What's different:
1. The "installation" script copies the 7z files to its folder on C:
2. The main script is being kept separately, ready to be copied to the folder containing the gerbers. The script only refers C:\7-Zip_Extra folder when packing to zip
3. The whole action happens inside the gerbers folder (create new folders, zipping, etc) - meaning inside the folder where the script was copied (so called local folder)
Please read the short instructions and then follow the script step-by-step.
P.S. Thanks Silver Solder for suggestions!
-----------------------------------------------------------------------------------------------------------------
Hi all!
Most of people here probably know that in order to upload the gerber files from DipTrace to JLCPCB, these have to be renamed properly.
Since I had a few times the "pleasant" opportunity to do this job, I've decided to automate this process.
Here I present you (attached) the batch script for Windows that will rename the files and will zip them ready for uploading.
*********************************************
* *
* A small CMD script to convert *
* DipTrace gerber files names *
* to JLCPCB name format *
* *
* by *
* iurius *
* iuries(at)gmail.com *
* *
*********************************************
* *
* This software uses: *
* 7-Zip Extra: standalone console version *
*
https://www.7-zip.org/ *
* *
* A big Thank You to Igor Pavlov! *
* *
* *
*********************************************
Extract all files to the directory containing the DipTrace-exported gerber files.
List of files:
Read Me.txt - this file
DipTrace to JLCPCB.bat - the batch script that renames the gerber files
7za.dll, 7za.exe, 7zxa.dll - these are the files borrowed from Igor Pavlov to pack the gerbers to zip.
Thanks a lot!
I have marked the 7z files as HIDDEN, don't forget to check the box in explorer to see hidden files.You may distribute the script freely!
Please don't hesitate to comment if I did something stupid.

Give me a
thumbs up THANK YOU if you like it!
