I have a file in a folder on a user's local drive. I want to reference it by just the last few folders, how do i do that? example:
string filePath = \\folder\file.txt;
I have a file in a folder on a user's local drive. I want to reference it by just the last few folders, how do i do that? example:
string filePath = \\folder\file.txt;
Use "GetParent"
Optimize it if you really want to use it. It just shows how it works.