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.
是否有一种简单的方法可以将一个或多个内容文件路径添加到当前用户的制造商程序文件路径下的注册表中?我能够对可执行文件执行此操作,但不能对任何添加的内容文件执行此操作。
我不得不将注册表项放在注册表编辑器中。我还必须使用 using 语句并放置 .net 代码在 using 语句中添加注册表,否则它会丢失上下文。