Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Promoted
How do you incorporate the name of the user in file paths in coding?
e.g. C://Users/[Username]/...
1 Answer
Relevance
- ?Lv 74 years ago
You use system variables instead; how you do that depends on the language. Even the command prompt lets you use things like %USERPROFILE% that points to C:\Users\<username> regardless of language or what the actual user name is.
Still have questions? Get your answers by asking now.