<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
I didn't know you could rename an file currently in use. I wonder
if that works with Dlls as well. Anyway I am sure there is a way
but I have actually pretty much solved my issue (which was have a
running app update itself) using a similar method.<br>
<br>
This is a general overview of the solution...<br>
<br>
1) Download new version with '_UPD' filename. <br>
2) Close and run '_UPD' version.<br>
3) UPD version then copies itself over normal file, closes and runs
normal file<br>
<br>
Thanks<br>
Rob<br>
<pre class="moz-signature" cols="72">
</pre>
<br>
On 19/01/2011 11:30 a.m., Kyley Harris wrote:
<blockquote
cite="mid:AANLkTimtQSHSNthGn9JC643bF21wEyTPOQ86_V4om2pS@mail.gmail.com"
type="cite">I have to say that I'm lazy and rename an inuse file
and then create the file that has the name I want. Then I clean up
the _old.??? later down the track after a reboot etc. That way
(for exes) the new file is available to anyone without a reboot..
<div>
<br>
</div>
<div>I'd like to know of the feature too if anyone has seen it,
for curiosity sake. <br>
<br>
<div class="gmail_quote">On Wed, Jan 19, 2011 at 9:54 AM, Robert
martin <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rob@chreos.co.nz">rob@chreos.co.nz</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi all<br>
<br>
I remember there was a simple way to tell windows (I think
it was a copy<br>
command) that on the next reboot file x should be replaced
with new<br>
version of file x. I did a quick search but didn't see it
(there is<br>
something the Microsoft mentions but it is not officially
supported and<br>
involves editing a ini file (<a moz-do-not-send="true"
href="http://support.microsoft.com/kb/139086"
target="_blank">http://support.microsoft.com/kb/139086</a>)
).<br>
<br>
I just wondered if anyone here knows what it is :)<br>
<br>
Thanks<br>
Rob<br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a moz-do-not-send="true"
href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a moz-do-not-send="true"
href="http://delphi.org.nz/mailman/listinfo/delphi"
target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a moz-do-not-send="true"
href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a>
with Subject: unsubscribe<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Kyley Harris<br>
Harris Software<br>
+64-21-671-821<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<p class="avgcert" color="#000000" align="left">No virus found in
this message.<br>
Checked by AVG - <a moz-do-not-send="true"
href="http://www.avg.com">www.avg.com</a><br>
Version: 10.0.1191 / Virus Database: 1435/3388 - Release Date:
01/18/11</p>
</blockquote>
</body>
</html>