Hi all i am working on asp.net web based application
in this application i have to configure one setting from web.config
file
which is path of folder and i want to create that folser on the working directory of project so any body Please tell me can i use Environment.CurrentDirectory
if yes then how and if no then Please provide me any convinient way to achive this task
hirenpatel53
-1
Posting Whiz in Training
Recommended Answers
Jump to PostI'd use
AppDomain.CurrentDomain.BaseDirectory
to get the current base directory. Append your folder name to it, and create the new folder.
All 3 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
hirenpatel53
-1
Posting Whiz in Training
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.