Whenever I use "Directory.getcurrentdirectory" I always get "C:\WINDOWS\system32" despite the fact that the code is running from a subdirectory of wwwroot. Can someone help ? How can I get the current directory on a code behind page ? I dont want the full "C:\e.t.c. Just the current directory name.