@Cerebrus
On Dec 21, 10:49 am, Cerebrus <[email protected]> wrote: > This very problem is commonly referred to in IT Security parlance as a > "Canonicalization" problem. The problem arises from the fact that the > [snip] > string p1 = Path.GetFullPath(txtPath1.Text); > string p2 = Path.GetFullPath(txtPath2.Text); > [snip] Doing this using System.IO; MessageBox.Show(Path.GetFullPath("C:\Temp\Source")); MessageBox.Show(Path.GetFullPath("C:\Temp\Source\")); displays two different values. In addition, using your code in amongst the code for the form displays "Different". Are you sure GetFullPath() works as you thought? Thanks again for your help.
