<div>I suppose I should give an example of the contents of my .bat file! :)</div>
<div> </div>
<div>del "C:\path\to\tmp\files\*.*" /Q<br><br>The .bat file is run by the windows task schedular once a day.</div>
<div> </div>
<div>Cheers,</div>
<div>Ken Lord</div>
<div>Vancouver BC</div>
<div> </div>
<div><span class="gmail_quote">On 5/24/05, <b class="gmail_sendername">Ken Lord</b> <<a href="mailto:kenlord@gmail.com">kenlord@gmail.com</a>> 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> </div>
<div>I use the method you mentioned, 'MODE=MAP', to generate snapshots for query results. It works great to highlight each individual item returned by a map query, placed next each item's attributes.</div>
<div> </div>
<div>However, Since mapserver 4 and later have come out, often the images fail despite the log statement of 'normal execution'.</div>
<div> </div>
<div>I have simplified the maps 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 consistant either. Why they don't either all work or all fail, or at least all the same features queried fail consistantly? I have no idea.
</div>
<div> </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> </div>
<div>Cheers,</div><span class="sg">
<div>Ken Lord</div>
<div>Vancouver BC</div>
<div> </div></span></blockquote></div>