@echo off ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: run_it.bat :: ========== :: :: Runs the 'find_unused_graphics' Perl script. :: :: Before running this batch file: :: 1) Change the graphics directory path as required. :: 2) Change the name of the graphics listing as required. (If you don't specify :: a full path, the Perl script assumes it is in the same directory as the Perl :: script). :: 3) Update FrameMaker's list of imported graphics. :: 4) Copy that list into 'pix.txt' (or whatever you call it). :: (To add such a list to a FrameMaker v 5.5 book: :: a) Choose File:Add File. :: b) Select 'Generated List' --> 'List of Refrences' :: c) Select 'Include References' --> 'Imported Graphics'.) :: :: :: :: Arguments this batch file passes to the Perl script: :: 1) The directory name is the full path of the graphics directory :: 2) 'pix.txt' is a text file produced by copying the text out of FrameMaker's :: list of imported graphics. :: It has lines like: :: graphics/ops_3a.gif @ 300 dpi 4-6 :: graphics/more graphics/What a boy.gif @ 72 dpi 1 :: It must have a TAB after the file name (before the page number). :: :: For more information, see the comments at the top of 'find_unused_graphics.pl'. :: :: v 1.0 - 2000/March/06 :: v 1.1 - Comments clarified. 2000/August/02 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: perl -w find_unused_graphics.pl "D:\Perl Stuff\graphix\Test Input\graphics" pix.txt pause