CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2002
    Posts
    82

    How do I use explorer.exe to copy directory or to grant access to the AppData?

    Hallo,

    I’m trying unfortunately to overwrite the AppData directory. I’m getting the “Access Denied – Err.number 70” error message.
    I can do it using the explorer GUI, but not with my application.
    How do I use explorer.exe to copy directory or to grant access to the AppData directory?

    Thanks for your help
    james

  2. #2
    Join Date
    Dec 2004
    Location
    Winnipeg, Manitoba, Canada
    Posts
    55

    Re: How do I use explorer.exe to copy directory or to grant access to the AppData?

    Why do you want to use the explorer.exe to do this, as opposed to useing the File.Copy or File.Delete provided as part of the .Net Framework?
    Useful? Then click on (Rate This Post) at the top of this post.
    For some useful C# Win 32 GUI recipes go here

  3. #3
    Join Date
    Nov 2002
    Posts
    82

    Re: How do I use explorer.exe to copy directory or to grant access to the AppData?

    Thanks for your response,

    I’m writing in vb6 and I tried the fso (file system object) that generated the err.number 70.
    I already solved the problem using a group policy to redirect the AppData

    Thanks
    james

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured