Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将目录链接到不同用户的不同目标?(windows 7) 例如, c:\abc , userA check c:\abc 将看到他的文件实际上 mklink 到其他地方,例如,%USERPROFILE%\abc,而 userB check c:\abc 将看到他自己的文件。这是因为有一个软件,我没有它的源代码,我希望它可以同时与不同的用户操作 2 个实例,但它使用相同的目录 c:\abc 作为临时文件。或者不使用 mklink ...有什么建议吗?
mklink不能使用环境变量,所以答案是“不,那是不可能的”。
mklink
PS:我查看了“subst”、mountpoints 和“net use”,但它们都不适合您的需要。事实上,我不知道有什么技术可以做到。对不起 :-(