<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In a little Gambas script which is called with root rights, I got an <br>
error message as a mail for root saying that in line 32 error #38 (File <br>
already exists) occurred.<br></blockquote><div><br></div><div>Before quit from application you can remove cache file before , not sure this will work for you (I have this code in my script) :</div><div><br></div><div>Public Sub Main()</div><div> ...<br></div><div> ResetCache<br></div><div>End<br></div><div><br></div><div><br></div><div>Private Sub ResetCache()<br> <br> Dim sBinFile As String<br> <br> sBinFile = Application.Path &/ Application.Name<br> <br> If Exist(sBinFile) Then Kill sBinFile<br> <br>End<br></div><div><br></div><div> </div></div></div></div>