no you should try another approach:
D:\bkup\FilesOnline\dotnet\NextSet\817\XSLTSample is only
your DEVELOP folder, this *IS NOT* the runtime folder.
These are 2 different folders.
so if you want your application (at release time) to load
a file from its current directory, you are already right,
you just should copy your txt file to \bin\debug because
the running exe DOES NOT KNOW (and can't know of course)
where it's source files are contained.
you do not *want* to get the path information without
the approach should be to imagine how the program shall
behave outside devenv. it shall load from its current
so \bin\debug IS the current directory.
i'm not a native speaker but i hope u can understand what