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. How to get full path of desktop and my document folder

How to get full path of desktop and my document folder

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpcomtutorial
4 Posts 3 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.
  • S Offline
    S Offline
    Sudhir Mangla
    wrote on last edited by
    #1

    I wants to get the full path of desktop and my document folder. Can some one suggest how to do the same in VC++

    Sudhir Mangla http://DevelopersVoice.com (VC++ FAQ, MFC FAQ, C++ FAQ) http://Programmerworld.net (Free books and source code)

    T T 2 Replies Last reply
    0
    • S Sudhir Mangla

      I wants to get the full path of desktop and my document folder. Can some one suggest how to do the same in VC++

      Sudhir Mangla http://DevelopersVoice.com (VC++ FAQ, MFC FAQ, C++ FAQ) http://Programmerworld.net (Free books and source code)

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      what about SHGetSpecialFolderPath()[^] ?


      [VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]

      S 1 Reply Last reply
      0
      • T toxcct

        what about SHGetSpecialFolderPath()[^] ?


        [VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]

        S Offline
        S Offline
        Sudhir Mangla
        wrote on last edited by
        #3

        Thanks for quick reply. I was just looking for this function

        Sudhir Mangla http://DevelopersVoice.com (VC++ FAQ, MFC FAQ, C++ FAQ) http://Programmerworld.net (Free books and source code)

        1 Reply Last reply
        0
        • S Sudhir Mangla

          I wants to get the full path of desktop and my document folder. Can some one suggest how to do the same in VC++

          Sudhir Mangla http://DevelopersVoice.com (VC++ FAQ, MFC FAQ, C++ FAQ) http://Programmerworld.net (Free books and source code)

          T Offline
          T Offline
          Taka Muraoka
          wrote on last edited by
          #4

          SHGetFolderPath()


          0 bottles of beer on the wall, 0 bottles of beer, you take 1 down, pass it around, 4294967295 bottles of beer on the wall. Awasu 2.2.5 [^]: A free RSS/Atom feed reader with support for Code Project. 50% discount on the paid editions for CP members!

          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