So, say I have
string path = \"C:\\\\Program Files\\\\Program\\\\File.exe\";
How do I get only \"File.exe\"? I was thinking something with
You're looking for Path.GetFileName(string).
Path.GetFileName(string)