Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. var test1 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @".test1.txt"));
  2. var test2 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @"test2.txt"));//
  3. var test3 = Path.GetFullPath(Path.Combine(@"C: usersdevdesktoptestfiles", @"test3.txt"));
  4. var test4 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles",@".XXXtest4.txt"));
  5. var test5 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @"XXXtest5.txt"));//
  6. var test6 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @"XXXtest6.txt"));
  7. var test7 = Path.GetFullPath(Path.Combine(@"C:usersdevdesktoptestfiles", @"somefilethatdoesntexist.txt"));//
  8.  
  9. test1 is "C:usersdevdesktoptestfilestest1.txt"
  10. test2 is wrong "test2.txt"
  11. test3 is "C: usersdevdesktoptestfilestest3.txt"
  12. test4 is "C:usersdevdesktoptestfilesXXXtest4.txt"
  13. test5 is wrong "c:XXXtest5.txt"
  14. test6 is "C:usersdevdesktoptestfilesXXXtest6.txt"
  15. test7 is wrong "c:somefilethatdoesntexist.txt"
  16.  
  17. source path + individual file path
  18. \myserverproject1.x + dllimportant.dll
  19.  
  20. c:myproject + dllimportant.dll
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement