path-combine Questions

2

Solved

In NTFS, I can prefix a path with the \\?\ character sequence to denote that it is a path that exceeds the 260-character limit; as such, the file system will interpret the path correctly and avoid ...
Petromilli asked 29/7, 2011 at 0:45

2

Solved

In C#, if I have a directory path and a relative file path with wildcard, e.g. "c:\foo\bar" and "..\blah\*.cpp" Is there a simple way to get the list of absolute file paths? e.g. { "c:\foo\blah\...
Clypeus asked 15/12, 2011 at 8:39

2

Solved

var actual = Path.Combine("c:", "filename"); var expected = @"c:\filename"; Assert.AreEqual(expected, actual); Result {Assert.AreEqual failed. Expected:<c:\filename>. Actual:<c:filename...
Poetaster asked 6/10, 2009 at 20:28

3

Solved

I am using Path.Combine, and one of the strings contain a Unicode characters. I get {System.ArgumentException} exception; illegal characters in path. According to MSDN filepath/name can have unicod...
1

© 2022 - 2024 — McMap. All rights reserved.