Location of My Pictures

13,438

Solution 1

The following will return a full-path to the location of the users picture folder (Username\My Documents\My Pictures on XP, Username\Pictures on Vista)

Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);

Solution 2

Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);

Share:
13,438

Related videos on Youtube

rudigrobler
Author by

rudigrobler

http://wpfdisciples.wordpress.com/bios/rudi-grobler/ http://www.rudigrobler.net/about

Updated on September 23, 2020

Comments

  • rudigrobler
    rudigrobler over 3 years

    How do I programatically (Using C#) find out what the path is of my My Pictures folder?

    Does this work on XP and Vista?