copyfile is copying into VirtualStore folder?

475 Views Asked by At

I have created one application on Vista, that is running with admin privileges.

I am trying to copy one file to ProgramData\Application\ folder.

But instead to copying there its copying at location c:\Users\XXX\AppData\Local\VirtualStore\ProgramData\Application\

I dont want this file to get copied into Virtul store.

Any suggestion , how can I overcome this issue?

I am using CopyFile API.

1

There are 1 best solutions below

2
On BEST ANSWER

Add a Vista manifest to your application to disable the FS virtualization