Application saving?

Hi all,

Does anybody have any idea as to what percentage of apps use this paradigm for saving files?

-create temp file
-write app data to temp file
-delete original file
-rename the temp file to the original file name

All the office apps appear to use this sequence of operations (or one roughly similar) to save a file. Notably, notepad does not. I was just wondering if anybody has a feel for how common this is during saves with apps, or is it mostly unique to office apps.

Thanks,
Alex

It is pretty common since it is safe.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

wrote in message news:xxxxx@ntfsd…
> Hi all,
>
> Does anybody have any idea as to what percentage of apps use this paradigm
> for saving files?
>
> -create temp file
> -write app data to temp file
> -delete original file
> -rename the temp file to the original file name
>
> All the office apps appear to use this sequence of operations (or one
> roughly similar) to save a file. Notably, notepad does not. I was just
> wondering if anybody has a feel for how common this is during saves with
> apps, or is it mostly unique to office apps.
>
> Thanks,
> Alex
>
>

Nowadays there is a new paradigm - using file system transactions, available in Vista.


Slava Imameyev , xxxxx@hotmal.com

And how many apps do you know of which are only written for Vista? Sorry,
many app’s are not even written for one OS.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

wrote in message news:xxxxx@ntfsd…
>
> Nowadays there is a new paradigm - using file system transactions,
> available in Vista.
>
> ------
> Slava Imameyev , xxxxx@hotmal.com
>