ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 21 - SK0-005 discussion

Report
Export

Which of the following will correctly map a script to a home directory for a user based on username?

A.
\\server\users$\username
Answers
A.
\\server\users$\username
B.
\\server\%username%
Answers
B.
\\server\%username%
C.
\\server\FirstInitialLastName
Answers
C.
\\server\FirstInitialLastName
D.
\\server\$username$
Answers
D.
\\server\$username$
Suggested answer: B

Explanation:

The administrator should use \server%username% to correctly map a script to a home directory for a user based on username. %username% is an environment variable that represents the current user’s name on a Windows system. By using this variable in the path of the script, the administrator can dynamically map the script to the user’s home directory on the server. For example, if the user’s name is John, the script will be mapped to \server\John.

Reference:

https://social.technet.microsoft.com/Forums/windows/en-US/07cfcb73-796d-48aa-96a9- 08280a1ef25a/ mapping-home-directory-with-username-variable?forum=w7itprogeneral

asked 02/10/2024
CCF AG Alexander Seidler
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first