Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

path desktop c#

// Environment.GetFolderPath
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); // Current User's Application Data
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData); // All User's Application Data
Environment.GetFolderPath(Environment.SpecialFolder.CommonProgramFiles); // Program Files
Environment.GetFolderPath(Environment.SpecialFolder.Cookies); // Internet Cookie
Environment.GetFolderPath(Environment.SpecialFolder.Desktop); // Logical Desktop
Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory); // Physical Desktop
Environment.GetFolderPath(Environment.SpecialFolder.Favorites); // Favorites
Environment.GetFolderPath(Environment.SpecialFolder.History); // Internet History
Environment.GetFolderPath(Environment.SpecialFolder.InternetCache); // Internet Cache
Environment.GetFolderPath(Environment.SpecialFolder.MyComputer); // "My Computer" Folder
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); // "My Documents" Folder
Environment.GetFolderPath(Environment.SpecialFolder.MyMusic); // "My Music" Folder
Environment.GetFolderPath(Environment.SpecialFolder.MyPictures); // "My Pictures" Folder
Environment.GetFolderPath(Environment.SpecialFolder.Personal); // "My Document" Folder
Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); // Program files Folder
Environment.GetFolderPath(Environment.SpecialFolder.Programs); // Programs Folder
Environment.GetFolderPath(Environment.SpecialFolder.Recent); // Recent Folder
Environment.GetFolderPath(Environment.SpecialFolder.SendTo); // "Sent to" Folder
Environment.GetFolderPath(Environment.SpecialFolder.StartMenu); // Start Menu
Environment.GetFolderPath(Environment.SpecialFolder.Startup); // Startup
Environment.GetFolderPath(Environment.SpecialFolder.System); // System Folder
Environment.GetFolderPath(Environment.SpecialFolder.Templates); // Document Templates
Comment

Get Desktop path C#

string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
Comment

path desktop c#


string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);

Comment

PREVIOUS NEXT
Code Example
Csharp :: open website c# 
Csharp :: Csharp convert string to double 
Csharp :: c# check if list contains string case insensitive 
Csharp :: cannot convert string to long c# 
Csharp :: bold caption latex 
Csharp :: C#: convert array of integers to comma separated string 
Csharp :: how to change particle system rate over time unity 
Csharp :: manchester united 
Csharp :: c# log to console 
Csharp :: c# print all property values of object 
Csharp :: email regex c# 
Csharp :: random number generator c# 
Csharp :: unity string array 
Csharp :: How to read StreamReader text line by line 
Csharp :: c# string to datetime 
Csharp :: c# require administrator permissions 
Csharp :: double to int c# 
Csharp :: Unity Rotate around the real center 
Csharp :: unity url 
Csharp :: unity find closest point on line 
Csharp :: mymove() method c# 
Csharp :: countdown timer c# unity 
Csharp :: how to log out of unity asset store 
Csharp :: using tmp unity 
Csharp :: how to change scenes in unity 
Csharp :: string format comma c# 
Csharp :: C# fix formatting 
Csharp :: c# two different random numbers 
Csharp :: how to check if control key is pressed c# 
Csharp :: How to add a label programatically in c# 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =