<p style="line-height: 16px; font-size: 13px; font-family: Tahoma,sans-serif; margin: 16px 0px;" valid="true">Thanks Rowena</p><p style="line-height: 16px; font-size: 13px; font-family: Tahoma,sans-serif; margin: 16px 0px;" valid="true">A command like this worked for the temp pdfs that I don't need.<br>`system "del sometempfile.pdf"`</p><p style="line-height: 16px; font-size: 13px; font-family: Tahoma,sans-serif; margin: 16px 0px;" valid="true">How about the therion.log and .xtherion.dat files?<br>They seem to be created after the last line in thconfig is executed so they can't be deleted with "system ..."<br>One solution that comes to mind is to create a batch file that waits for a couple of seconds and then deletes those two files after therion has finished with them. There is probably a cleaner solution though.</p><p style="line-height: 16px; font-size: 13px; font-family: Tahoma,sans-serif; margin: 16px 0px;" valid="true">Which raises the next question <img alt=":)" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABjElEQVQ4jaWTP0hCURTGn5BCmr7BJShoMRIbXCJczOFtLo3uoq5tbuIoCLU4OdigY/EqCrGG3iS66OD0JgUnQVAQef/f/Roezz/dZxRdONzzwTm/czl8l2EcjsQzcAqnWqpRESLQBikY4wLMWRXmrApjXIA2SEERIrtBEs9A6yVhTisgi4ZjmNMKtF6Shkg8A7WbAFnUrWJCrLCbt3QdajexDZF4BsYob00hBKVSCRzHwSSE0mTRgDHKrwH2gsi8tgJwHAeWZVeATU0WDZB5bb1YO9HFDMxJGUuDIMCyCLAslgahtDkpQxczNEARwtDFLHQxh6lKMFUJdDHnoLNQhDANkHgG8vsR1HYMajcOtRO3bjvvxKG2Y5A/jre9QRnmxQP5zQ+5GYTcOrSiGYT86of07KHNtSluUm706z5HF0o8g+GTD9dXe7Q7bdF/OEE0coBi2o3ho3dVNGt5UUy7EQ3v47N+Slv7+6T723MkLv2IhlyIhlxIXOzjrnj289/Y9ew/fax/Nf8G5FT7Be1QSstbXKuqAAAAAElFTkSuQmCC" style="border:none; vertical-align:top;"><br>I tried the batch file approach with this command<br>`system "start removefiles.bat"`<br>The file removefiles.bat sleeps for 5 seconds and then tries to delete therion.log. The thing is that I might be using `system start...` incorrectly because Therion still waits for it to finish.<br></p><p style="line-height: 16px; font-size: 13px; font-family: Tahoma,sans-serif; margin: 16px 0px;" valid="true">Vladimir<br></p><p style="font-family:Tahoma, sans-serif; font-size:13px;"></p>
<p style="font-family:Tahoma, sans-serif; font-size:13px;"><span style="color:#999999;">----- Цитат от rowena_l@tpg.com.au, на 14.11.2014 в 01:48 -----</span></p>
<blockquote type="cite" style="border:none; padding:0; margin:0; background-color:#1010ff;"><div style="margin-left:2px; background-color:white;"><div style="margin-left:13px;">
 <br>Hi Vladmir,<div><br></div><div>You can put commands in your thconfig file to delete the unwanted files after the  "export" command.</div><div><br></div><div>Therion Book, page 46:</div><div><br></div><div><div>‘system’</div><div>Allows to execute system commands during therion compilation. 53 Normally Therion</div><div>waits until the subprocess is finished. If you want to continue compilation without break,</div><div>use <command> & syntax on Linux and start <command> syntax on Windows.</div></div><div><br></div><div>Regards,</div><div><br></div><div>Rowena</div><div><div><blockquote><br>----- Original Message -----<br><div style="width:100%;background:rgb(228,228,228);"><div style="font-weight:bold;">From:</div> "List for Therion users" <therion@speleo.sk></div><br><div style="font-weight:bold;">To:</div>"therion@speleo.sk " <therion@speleo.sk><br><div style="font-weight:bold;">Cc:</div><br><div style="font-weight:bold;">Sent:</div>Thu, 13 Nov 2014 14:28:48 -0000<br><div style="font-weight:bold;">Subject:</div>[Therion] Cleaning up folders and temp files<br><br><br>
Hi<br><br>
After I compile a project I end up with several files that I don't need like:<br>
.xtherion.dat - don't know what it is<br>
therion.log<br>
and a couple of temp PDFs that I compile and then merge into a final PDF that contains both plan and elevation<br><br>
Is there a way to delete all of those or at least prevent therion from generating them? I don't really look at the therion.log file.<br><br>
In the examples I see commands like:<br>
#!CLEAN rabbit.lox rabbit-plan.pdf rabbit-xelev.pdf<br>
but it doesn't seem to do anything and uncommenting it causes an error.<br><br>
Vladimir</blockquote></div></div></div></div></blockquote>
<p style="font-family:Tahoma, sans-serif; font-size:13px;"></p>
<div style="position: absolute; width: 1px; height: 1px; font-size: 0px; outline: 0px none; opacity: 0; left: 0px; top: 0px;" id="message_html_paste" contenteditable="true"></div><br /><br />-------------------------------------<br /><a href="http://ads.mail.bg/delivery/ck.php?oaparams=2__bannerid=3409__zoneid=35__OXLCA=1__cb=c00f3a7938__oadest=http%3A%2F%2Fwww.superhosting.bg%2Fpromo%2F9years%3Futm_source%3DMail.BG%26utm_medium%3DFooter%26utm_content%3Dv1%26utm_campaign%3D9years" target="_blank">
СуперХостинг.БГ стават на 9! Вземи хостинг с неограничен трафик с 57% отстъпка!<br />
</a>