@echo off if -%1- == -- goto explain if -%2- == -- goto explain if not %1 == 1 goto install if not %1 == 2 goto install goto explain :install mkpcbtxt %1 /i:148 "!%2\ACD-LOG.PPE 148_" >nul mkpcbtxt %1 /i:259 "!%2\ACD-LOG.PPE 259_" >nul mkpcbtxt %1 /i:260 "!%2\ACD-LOG.PPE 260_" >nul cls echo █▓█▀▄▄▄ ▄▄▄▀█▓█ ▄▒▄ ▒▄▄▓██████▄▄ ▄▒▄ ▄▄▄▀█▓█ echo ▐█▓▌ ▀███▄ ▄███▀ ▐██▌▄█▓▄▀█▓██▀▄ ▀▀██▓█▄▀██▓██ ▄███▀ ▐██▌▄ echo ▄██▒▀▀ ▐██▓▐██▓▌ ▄▓▒██▄▀██▀ ▀████▓ █▒███ ▓██▀▀ ▐██▓▌ ▄▓▒██▄ echo ▀▄▄▄▄▄▄████▒▌██▒ ░▀ ▀ ▄▄█▄ ████▓ ▐███░▌▀ ▄▄█ ███▒ ░▀ echo ▄████▀▀ ▀███▐██░ █▄▄▄▄ ▀█████▌ ████▓ ███▒▓█████▌▐██░ █▄▄▄▄ echo ▐▓███▄ ▄▄ ▐██▌███▌ ▐▓██▌░ ▀███▓ ▐▓██▒▌ ▄███▓▒ ▀███▓ ███▌ ▐▓██▌░ echo ▄ ▀▒███████▀▀▓▒███▐███▄▄░██▓bE!▓▄██▒▌ ▒██░▄▓█████▀ ▓▄██▒▌▐███▄▄░██▓▌ ▄ echo ▀ ▀ ▀▀░ ▀▀▀▀ ▀▀░▀▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀░▀ ░▀▀▀▀▀▀▀▀ ▀▀▀▀▀░▀ ▀▀▀▀▀▀▀▀▀ ▀ ▀▀ ▀ echo Thanks for using ACiDic Logon! goto end :explain cls echo █▓█▀▄▄▄ ▄▄▄▀█▓█ ▄▒▄ ▒▄▄▓██████▄▄ ▄▒▄ ▄▄▄▀█▓█ echo ▐█▓▌ ▀███▄ ▄███▀ ▐██▌▄█▓▄▀█▓██▀▄ ▀▀██▓█▄▀██▓██ ▄███▀ ▐██▌▄ echo ▄██▒▀▀ ▐██▓▐██▓▌ ▄▓▒██▄▀██▀ ▀████▓ █▒███ ▓██▀▀ ▐██▓▌ ▄▓▒██▄ echo ▀▄▄▄▄▄▄████▒▌██▒ ░▀ ▀ ▄▄█▄ ████▓ ▐███░▌▀ ▄▄█ ███▒ ░▀ echo ▄████▀▀ ▀███▐██░ █▄▄▄▄ ▀█████▌ ████▓ ███▒▓█████▌▐██░ █▄▄▄▄ echo ▐▓███▄ ▄▄ ▐██▌███▌ ▐▓██▌░ ▀███▓ ▐▓██▒▌ ▄███▓▒ ▀███▓ ███▌ ▐▓██▌░ echo ▄ ▀▒███████▀▀▓▒███▐███▄▄░██▓bE!▓▄██▒▌ ▒██░▄▓█████▀ ▓▄██▒▌▐███▄▄░██▓▌ ▄ echo ▀ ▀ ▀▀░ ▀▀▀▀ ▀▀░▀▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀░▀ ░▀▀▀▀▀▀▀▀ ▀▀▀▀▀░▀ ▀▀▀▀▀▀▀▀▀ ▀ ▀▀ ▀ echo. echo Installation of ACiDic PPE's are as follows: echo ────────────────────────────────────────────────────────────────────────────── echo Command Line: INSTALL "PCBTEXT" "PPEDIR" echo. echo "PCBTEXT" is the PCBTEXT file to update. Usually in \GEN directory. echo. echo "PPEDIR" is where the ppe files are stored. echo. echo Make sure that MKPCBTXT is in your path somewhere, and NO TRAILING BACKSLASH! echo ────────────────────────────────────────────────────────────────────────────── echo Example usage echo INSTALL C:\PCB\GEN\PCBTEXT C:\PCB\PPE\ACD-LOG :end