What is the meaning of these Windows Environment variables: HOMEDRIVE, HOMEPATH, HOMESHARE, USERPROFILE

前端 未结 4 2139
孤独总比滥情好
孤独总比滥情好 2020-12-13 06:38

What is the meaning of these Windows Environment variables:

  • HOMEDRIVE,
  • HOMEPATH,
  • HOMESHARE,
  • and USERPROFILE?

Who

4条回答
  •  渐次进展
    2020-12-13 07:26

    Those are all set on login, and they are, as SocialAddict said, very useful in scripts when you need to perform an action on different systems.

    I'm not too clear on your other question, a samba server shouldn't care about those variables.

    See http://vlaurie.com/computers2/Articles/environment.htm for a detailed explanation.

提交回复
热议问题