: extract-pkzip.bat : batch file to automate the extraction of the FCC ULS downloaded files : n6lhv@arrl.net (Wayne Smith) : created: 28-July-2004 : updated: 02-August-2004 : functional dependencies : -assumes "download.bat" has successfully completed SET fileRoot=%1 : del existing extracted files del %fileRoot%-counts. del %fileRoot%-*.dat : Unzip the file(s) pkzip25 -extract -overwrite %fileRoot%.zip counts cp.dat em.dat en.dat fr.dat hd.dat lo.dat pkzip25 -extract -overwrite %fileRoot%.zip counts hs.dat :pkzip25 -extract -overwrite %fileRoot%.zip lo.dat : Rename the *non-unique* filenames to *unique* filenames ren counts. %fileRoot%-counts. ren cp.dat %fileRoot%-cp.dat ren em.dat %fileRoot%-em.dat ren en.dat %fileRoot%-en.dat ren fr.dat %fileRoot%-fr.dat ren hd.dat %fileRoot%-hd.dat ren lo.dat %fileRoot%-lo.dat ren hs.dat %fileRoot%-hs.dat