[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
static extern String PathFindNextComponent([In] String pszPath);
Declare Function PathFindNextComponent Lib "shlwapi.dll" (TODO) As TODO
None.
None.
Please add some!
string str = @"c:\path1\path2\test";
str = PathFindNextComponent(str);
// Result: str == @"path1\path2\test"
Do you know one? Please contribute it!