+ 1
You can try and use this: string name = Path.GetFileName(filename);
+ 1
oh, right.. so you know the folder name?
+ 1
split them by the separator \\ or \ or / then get the last index.
filename = wholepath.split(Path.DirectorySeparatorChar.ToString()).Last()
0
thank you Taste! @Tim