[DUG] Renaming file in use

Sean Cross - CRM sean.cross at crm.co.nz
Fri Dec 2 16:57:06 NZDT 2005


RenameFile should work on open files for Windows NT and up.

Regards

Sean
-------------------------
Sean Cross
Systems Development Manager
CRM 
PO Box 230
Napier
DDI:	06 834 0362
Mobile:	021 270 3466 
Email:	sean.cross at crm.co.nz

Offices located in Auckland, Napier, Wellington & Christchurch

...
> 
> Offtopic Nostalgic thought (sigh)  Unix handles renaming 
> files in use much better.  It allows it no problem.  Any 
> files with the old version open still access the old data 
> file which is preserved until closed.  When reopened it gets 
> the new version.  Very transparent.  Windows just doesn't 
> allow it, even if the file is only open read-only.  If I 
> remember VMS did something even smarter with maintaining 
> multiple versions of files as part of the filesystem.
> 
> The scheme I use is for programs.
> 
> John
> 
>



More information about the Delphi mailing list