My ASP.NET (c#) pulls a folder form the web.config file fine. However i need to check thi sfolder for format etc.
So for example if an administrator enters the folder "C:\temp" i convert it to "C:\\temp\\" as i then add a file to that directory. Likewise if "C:\\temp\\" is entered i leave it alone or "C:\\temp" i make it "C:\\temp\\"
Is there an easy way of doing this