Not sure if I'm posting in the proper place. How would I run a scrip on all out package library parts (.dra files)?
Use a batch file to call your script:# batch file to process all *.dra files through an Allegro script in a directory#set noconfirm=tfor %%f IN (*.dra) DO start /wait /min allegro -s libfix2.scr %%f"libfix2.scr" is my script in this case.I always copy the *.dra files to a separate directory before running the script, then overwrite the original files if the desired results are obtained.Dave
Thanks for the quick reply!
At the end of the script, do I need to do a save or does the batch file do that?
Script needs to include save - sample tail of a script:# call asysize.il#setwindow pcbasysize## call delsilk.il# setwindow pcbdelsilk## redraw, save & exit#setwindow pcbredisplaysaveexitDave
Thanks!I'll give it a try and let you know how it works out (may not be until next week).John
Did a quick test and got this message-E- Command not found: for %%f IN (*dra) DO start /wait /min allegro -s jwz_text_block_a.scr %%f
Create a batch file "yourbatch.bat" which calls your script/skill "yourscript.scr":set noconfirm=tfor %%f IN (*.dra) DO start /wait /min allegro -s yourscript.scr %%fCreate a directory for processing, and copy all of your target .dra files, the .bat file, and the .scr file into the directory. (No need to mess with system env variables or path using this method).From DOS, navigate to the folder and type the name of the batch file.
Works like a charm, Thanks!!