How to force a "real" folder move

Hi all,

I have a quick question about the way Windows moves a folder.
When the destination is on the same file system of the folder, Windows
just renames the folder without
a real data copy.
On the contrary when destination is on a different file system, Windows
copies and deletes each file in the folder.

Since I am working on crypted folders, I would like Windows to use the
second behavior even to move data in the
same file system.

Does exist a way to force Windows doing this? I think I could use a
STATUS_REPARSE error but:

  • I don’t really know how reparse points work.
  • I need a method that works for VFAT too.

I know I can copy and delete files from the driver. Unfortunately the
user would experience a long delay
without any evidence that files are moving.

Thanks for any suggestion, Francesco

Did you search the archives? Try ‘rename encryption’.

“Francesco Garelli” wrote in message news:xxxxx@ntfsd…
> Hi all,
>
> I have a quick question about the way Windows moves a folder.
> When the destination is on the same file system of the folder, Windows
> just renames the folder without
> a real data copy.
> On the contrary when destination is on a different file system, Windows
> copies and deletes each file in the folder.
>
> Since I am working on crypted folders, I would like Windows to use the
> second behavior even to move data in the
> same file system.
>
> Does exist a way to force Windows doing this? I think I could use a
> STATUS_REPARSE error but:
> - I don’t really know how reparse points work.
> - I need a method that works for VFAT too.
>
> I know I can copy and delete files from the driver. Unfortunately the user
> would experience a long delay
> without any evidence that files are moving.
>
> Thanks for any suggestion, Francesco
>
>
>
>