Sunday, 11 August 2013

How do i get only the LocalUser path?

How do i get only the LocalUser path?

I have this line:
outputtext = Path.GetDirectoryName(Application.LocalUserAppDataPath) +
"\\outputtext";
This line contain:
"C:\Users\bout0_000\AppData\Local\Diagnostic_Tool_Blue_Screen\Diagnostic
Tool Blue Screen\outputtext"
I want it to contain only:
C:\Users\bout0_000\AppData\Local
How can i do it ?

No comments:

Post a Comment