Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var test1 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @".test1.txt"));
- var test2 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @"test2.txt"));//
- var test3 = Path.GetFullPath(Path.Combine(@"C: usersdevdesktoptestfiles", @"test3.txt"));
- var test4 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles",@".XXXtest4.txt"));
- var test5 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @"XXXtest5.txt"));//
- var test6 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @"XXXtest6.txt"));
- var test7 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @"somefilethatdoesntexist.txt"));//
- test1 is "C:usersdevdesktoptestfilestest1.txt"
- test2 is wrong "test2.txt"
- test3 is "C: usersdevdesktoptestfilestest3.txt"
- test4 is "C:usersdevdesktoptestfilesXXXtest4.txt"
- test5 is wrong "c:XXXtest5.txt"
- test6 is "C:usersdevdesktoptestfilesXXXtest6.txt"
- test7 is wrong "c:somefilethatdoesntexist.txt"
- source path + individual file path
- \myserverproject1.x + dllimportant.dll
- c:myproject + dllimportant.dll
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement