Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Getting Attributes of folder....PLEASE HELP

Getting Attributes of folder....PLEASE HELP

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestioncomlinux
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rohit dhamija 0
    wrote on last edited by
    #1

    Dear All, :doh: I am developing an application in MFC VC++ Version 6.0 on Windows 2000. Please help me out in following problem: I have deleted a folder and the folder is moved to recycle bin. I get the exact path of the recycled folder from my application. For example If i delete a folder say "myfolder" from c:\ c:\myfolder I get the string path C:\RECYCLER\S-1-5-21-1844237615-1202660629-1060284298-500\dc1 corresponding to it. Now i have the path of the recycled folder. From this string I need to know the the original location of the folder from which it was deleted. I went through the article given in http://www.codeproject.com/shell/recyclebin.asp This article is very nice but unfortunately i couldnot get any useful hint from this article to solve my purpose. Can anybody please suggest a way out to get the original location of the deleted folder? I hope my question is clear, please let me know if anybody needs further clarifications. Thanks in advance, Best Wishes, Rohit

    C 1 Reply Last reply
    0
    • R rohit dhamija 0

      Dear All, :doh: I am developing an application in MFC VC++ Version 6.0 on Windows 2000. Please help me out in following problem: I have deleted a folder and the folder is moved to recycle bin. I get the exact path of the recycled folder from my application. For example If i delete a folder say "myfolder" from c:\ c:\myfolder I get the string path C:\RECYCLER\S-1-5-21-1844237615-1202660629-1060284298-500\dc1 corresponding to it. Now i have the path of the recycled folder. From this string I need to know the the original location of the folder from which it was deleted. I went through the article given in http://www.codeproject.com/shell/recyclebin.asp This article is very nice but unfortunately i couldnot get any useful hint from this article to solve my purpose. Can anybody please suggest a way out to get the original location of the deleted folder? I hope my question is clear, please let me know if anybody needs further clarifications. Thanks in advance, Best Wishes, Rohit

      C Offline
      C Offline
      Carlos Antollini
      wrote on last edited by
      #2

      You must to use SHGetFolderPath Carlos Antollini. Pi Five[^]Creator

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups