其他用户可以访问的变量 [英] Variables accessable to other user

查看:94
本文介绍了其他用户可以访问的变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在哪里可以添加一个Application Setting变量,该变量可以是
适用于将我的计算机用作远程桌面的任何用户

我使用了系统环境变量,但我们需要重新启动计算机.

Where can I add an Application Setting variable that can be
available for any user that uses my machine as remote Desktop

I used System Environment Variables but we need to restart the Machine.

推荐答案

使用适当的SpecialDirectory存储数据.具体来说,您对CommonApplicationData感兴趣.

该链接用于.Net,但您应该可以通过使用google找到所需的特定信息.

http://msdn.microsoft.com/en-us/library/system.environment. specialfolder.aspx [ ^ ]

我建议使用搜索短语"vb6 SHGetSpecialFolderPath"
Use the appropriate SpecialDirectory to store the data. Specifically, you''re interested in CommonApplicationData.

This link is for .Net, but you should be able to find the specific info you want by using google.

http://msdn.microsoft.com/en-us/library/system.environment.specialfolder.aspx[^]

I recommend the search phrase "vb6 SHGetSpecialFolderPath"


您可以尝试使用注册表.
You can try using the registry.


这篇关于其他用户可以访问的变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆