Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# get desktop path

Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
Comment

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 :: coroutine not eaffected by time.timescale unity 
Csharp :: change array size in unity 
Csharp :: move object to mouse unity 
Csharp :: how to ping in c# forms 
Csharp :: how refresh just one table in laravel by terminal 
Csharp :: lump in neck under jaw 
Csharp :: unity read from text file 
Csharp :: c# sort array string by length 
Csharp :: .net core add header to soap request 
Csharp :: How to get the world position of the edge of an object? 
Csharp :: how to check the distance between two dates c# 
Csharp :: basic movement script unity 
Csharp :: linq where list contains another list 
Csharp :: prettier c# 
Csharp :: take screenshot in c# 
Csharp :: ggdesign 
Csharp :: The terminal process failed to launch: Path to shell executable "dotnet" is not a file or a symlink. 
Csharp :: programmatically write bash script from c# 
Csharp :: unity get scrollbar value 
Csharp :: unity button press onclick click add C# 
Csharp :: c# LCP 
Csharp :: compile in one single exe c# 
Csharp :: tostring tmpro unity 
Csharp :: how to change the color of a sprite in unity 
Csharp :: know to which direction Vector.MoveTowards is moving unity 2D 
Csharp :: .net Core Get File Request 
Csharp :: c# listbox delete selected items 
Csharp :: get current playing animation of animator unity 
Csharp :: get child of transform by index unity 
Csharp :: c# unity detect any keyboard input 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =