How to create file on c:\

  • Thread starter Thread starter Stoyan Malchev
  • Start date Start date
S

Stoyan Malchev

Guest
I have an app that creates some files in c:\.
It fails on VISTA on access violation.

Is it possible to enable access to root directory on drive c:
 
RE: How to create file on c:\

Short answer: yes.

Long answer: but unless your application is an administrative application
doing so is a really bad idea and would, by definition, make your app
non-Vista compliant. Your app should be writing either into the user's data
directory or into some application specific directory under C:\ProgramData.

---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/0470101555?ie=UTF8&tag=protectyourwi-20


"Stoyan Malchev" wrote:

> I have an app that creates some files in c:\.
> It fails on VISTA on access violation.
>
> Is it possible to enable access to root directory on drive c:
>
>
>
 
Back
Top