rem Jim Williamson / JimWilliamson.net rem Batch file, called LC.BAT as it originally was used to LowerCase file names. rem Batch file is called from a DOS prompt with the default directory being the one that contains the photos. rem The typical call is "..\lc" rem Lower case the image filenames ren *.jpg *.jpg ren img_*.* img_*.* rem Dump the filenames in a clean, bare format to a temporary file dir *.gif /b /ogen > ..\work.txt dir *.jpg /b /ogen >> ..\work.txt rem Call WorfPerfect with initial macro working on the temporary file "C:\Program Files\WordPerfect Office 12\Programs\wpwin12.exe" : /m-C:\Data\Website\motorcycle\2005-09-us-n-canada\web-create.wcm "C:\Data\Website\motorcycle\2005-09-us-n-canada\work.txt" rem Out of WP the work file now contains good HTML - copy it to the default directory as the web page. copy ..\work.txt index.html rem Clean up after ourselves del ..\work.txt rem Simply open the HTML file - Nvu - the page editor is the default program to handle HTML dox. index.html rem Close up shop once Nvu exits exit