Create Folder In Appdata C

[Solved] Create Folder In Appdata C | Java - Code Explorer | yomemimo.com
Question : create folder in appdata c#

Answered by : mrnobody

// The folder for the roaming current user
string folder = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
// Combine the base folder with your specific folder....
string specificFolder = Path.Combine(folder, "YourSpecificFolder");
// CreateDirectory will check if every folder in path exists and, if not, create them.
// If all folders exist then CreateDirectory will do nothing.
Directory.CreateDirectory(specificFolder);

Source : https://stackoverflow.com/questions/16500080/how-to-create-appdata-folder-with-c-sharp | Last Update : Mon, 20 Jun 22

Answers related to create folder in appdata c

Code Explorer Popular Question For Java