[DUG] Renaming file in use

Jeremy Coulter vss at vss.co.nz
Fri Dec 2 14:18:29 NZDT 2005


I just used the "RenameFile" function.  This is D7

Jeremy 

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Robert martin
Sent: 2 December 2005 14:12
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Renaming file in use

This is no help but...  How do you do it in Win2K and above? 

Rob Martin
Software Engineer

phone +64 03 377 0495
fax   +64 03 377 0496
web www.chreos.com

Wild Software Ltd



Jeremy Coulter wrote:

> Hi All. I am sure I have seen this mentioned before, but I has as part 
> of an app. the ability to auto update. part of the update process is, 
> it needs to rename the current running app. to .old.
> this this fin under win2K onwards, but on winnt and win98, it throws 
> an error.
>  
> Is there a work around? I did a search on Google, but not a lot came 
> back....but that could have been how I was searching too.
>  
> Jeremy
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.13.10/190 - Release Date: 
> 01/12/2005
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Delphi mailing list
>Delphi at ns3.123.co.nz
>http://ns3.123.co.nz/mailman/listinfo/delphi
>  
>
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/190 - Release Date: 01/12/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/190 - Release Date: 01/12/2005
 





More information about the Delphi mailing list