Use ANT
if you, like me, is updateing pages with source code that changes, is reorganized etc, I will strongly reccommand ANT ( http://ant.apache.org/) as an efficient tool to move files when neccessary, zip down catalogs etc. You may call ANT - task from a WXT-script.
... <group name="making zipped archives" location="_scriptpath"> <command line="_scriptpath/antbat.bat" wait="yes"/> <!-- following does not work: error 193, netsearch indicates security problem ? <command line="ant -buildfile c:\articles\dn\buildzips.xml" wait="yes"/> --> </group> ...
where antbat.bat runs a ant-script. This is an example from another site:
ant -buildfile c:\articles\dn\buildzips.xml
and buildzips.xml is like this
<?xml version="1.0" ?> <project default="main"> <property name="src" location="c:/CSharps"/> <property name="dest" location="c:/articles/dn"/> <property name="srcnet" location="h:/dn"/> <target name="main"> <copy file="${src}/RSS/RSS/feedlist.cs" tofile="${dest}/rssreader/feedlist.cs"/> <zip destfile="${dest}/zips/rssreader.zip" basedir="${src}/rss" update="true"/> <zip destfile="${dest}/zips/mdi.zip" basedir="${src}/MDI3" update="true"/> <zip destfile="${dest}/zips/db1.zip" basedir="${src}/db1" update="true"/> <zip destfile="${dest}/zips/fotballbase.zip" basedir="c:/projects/football/database/" includes="allbatch.txt" update="true"/> <copy file="c:/projects/football/database/establish.txt" tofile="${dest}/db1/establish.txt"/> <copy file="${srcnet}/web1/first.aspx" tofile="${dest}/web1/first.aspx"/> <copy file="${srcnet}/web1/web.config" tofile="${dest}/web1/web.config"/> <copy file="${srcnet}/web1/second.aspx" tofile="${dest}/web2/second.aspx"/> <copy file="${srcnet}/web2/Default.aspx" tofile="${dest}/web2/Default.aspx"/> <copy file="${srcnet}/web2/Default.aspx.cs" tofile="${dest}/web2/Default.aspx.cs"/> </target> </project>