<div>I suppose I should give an example of the contents of my .bat file! :)</div>
<div>&nbsp;</div>
<div>del &quot;C:\path\to\tmp\files\*.*&quot; /Q<br><br>The .bat file is run by the windows task schedular once a day.</div>
<div>&nbsp;</div>
<div>Cheers,</div>
<div>Ken Lord</div>
<div>Vancouver BC</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 5/24/05, <b class="gmail_sendername">Ken Lord</b> &lt;<a href="mailto:kenlord@gmail.com">kenlord@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>James,</div>
<div>&nbsp;</div>
<div>I use the method you mentioned, 'MODE=MAP', to generate snapshots for query results. It works great to highlight&nbsp;each individual item&nbsp;returned by a&nbsp;map query, placed next each item's&nbsp;attributes.</div>
<div>&nbsp;</div>
<div>However,&nbsp; Since mapserver 4 and later have come out,&nbsp;often the images fail despite the log statement&nbsp;of 'normal execution'.</div>
<div>&nbsp;</div>
<div>I have simplified the maps&nbsp;as much as possible, and I'm sure that its not a lingering syntax difference between 3.6 (where it worked great) and 4 or later. The failures are not&nbsp;consistant either.&nbsp; Why they don't either all work or all fail, or at least all the same features queried&nbsp;fail consistantly? I have no idea. 
</div>
<div>&nbsp;</div>
<div>So I'm leary about suggesting people use MODE=MAP for all their maps just to keep their temp folder's empty, especially when a simple .bat file can be used to empty them regularly.</div>
<div>&nbsp;</div>
<div>Cheers,</div><span class="sg">
<div>Ken Lord</div>
<div>Vancouver BC</div>
<div>&nbsp;</div></span></blockquote></div>