如何阅读已安装的应用程序文件夹 [英] How to read Installed Application Folders

查看:101
本文介绍了如何阅读已安装的应用程序文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨-ITNOG

我想知道是否仍然可以找到已安装程序的文件夹路径?

例如对于"Internet下载管理器",返回"C:\ Progrom Files \ Internet下载管理器"

关于

Hi - ITNOG

I want to know is there anyway to find Folder path of installed Programs ?

For example For ''Internet Download Manager'' return ''C:\Progrom Files\Internet Download Manager''

Regards

推荐答案

Internet下载管理器听起来像是自定义安装的应用程序.大多数程序的信息都存储在注册表中,包括已安装的文件夹.根据用户在安装过程中对问题谁可以使用该程序?任何人仅我"的回答,可以在注册表HKLM中找到此信息(本地计算机)或软件下的HKCU(当前用户).
您可以自己查看注册表,也可以在Internet上查找有关特定应用程序的更多信息(已经有人为您完成了工作).程序将始终使用相同的注册表位置(来自HKLM或HKCU),因为否则它们将无法找到它.这就是为什么例如总是在系统黑客和调整中给出注册表项的原因. 在注册表中看看.只要您不进行任何更改,它都是安全的!!!记住!!!该注册表中没有撤消/重做!!!如果您要保存更改,就不会要求您!!!他们已立即生效!!!意识到!!!
默认的Windows工具是regedit.exe.也许sysinternalsuite可以帮助一些其他工具来跟踪更改(即使在程序安装过程中也是如此).

祝您好运!
Internet Download Manager sounds like a custom installed application. Most programs have information stored in the registry, including their installed folder. Depending on the anser the a user gave during installation to the quesion "Who can use this program? Anyone or Just me", this information can be found in the registry HKLM (local machine) or HKCU (current user) under software.
You can look into the registry yourself or look on the internet to find more info on the specific application (someone already did the work for you). A program will always use the same registry location (from HKLM or HKCU) because otherwise they couldn find it either. That''s why registry keys are always given in system hacking and tweaking for example.
Have a look around in the registry. It''s safe as long as you don''t change anything!!! Remember!!! THERE IS NO UNDO/REDO IN THE REGISTRY!!! YOU ARE NOT ASKED IF YOU WANT TO SAVE YOUR CHANGES!!! THEY HAVE EFFECT IMMEDIATELY!!! BE AWARE!!!
The default windows tool is regedit.exe. Maybe sysinternalsuite can help with some additional tools that will track changes (even during the program installation process).

Good luck!!!


您可以使用%ProgramFiles%环境变量,或研究特殊的文件夹枚举:

http://msdn.microsoft.com/en-us/library/system.environment. specialfolder.aspx [ ^ ]
You can use %ProgramFiles% environment variable, or investigate the special folders enumeration:

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


您必须要有创造力.例如.如果程序具有某个链接到其自身的扩展名,则也可以使用该扩展名.如果您以WinRAR为例.您查看HKEY_CLASSES_ROOT并查找.rar扩展名.这链接到WinRAR.然后,您在HKEY_CLASSES_ROOT中向下滚动以查找WinRAR条目.在WinRAR下,存在一个带有(默认)"值的DefaultIcon条目,在我的情况下为"C:\ Program Files \ WinRAR \ WinRAR.exe,0".您解压缩文件路径,瞧,这里有WinRar程序的路径.

我不知道/没有Internet Download Manager,也无法轻松研究它.但是关键是要找到应用程序中需要与程序的某些部分进行硬链接的某些内容.也许该程序具有IE和/或Explorer的集成,您可以从那里获取程序的外接程序位置.

祝你好运!
You have to be creative with it. For example. If the program has a certain extension linked to itself you can also use that. If you take WinRAR wor example. You look into the HKEY_CLASSES_ROOT and look for the .rar extension. This is linked to WinRAR. You then scroll down in HKEY_CLASSES_ROOT looking for the WinRAR entry. Under WinRAR there is an entry DefaultIcon with a "(default)" value, in my case "C:\Program Files\WinRAR\WinRAR.exe,0". You extract the file path and voila, there is the path to the WinRar program.

I don''t know/have Internet Download Manager and cannot easily look into it. But the key is to find something of the application that needs a hard link to some part of the program. Maybe this program has IE and or Explorer integration and you can take the program''s add-in location from there.

Good luck!


这篇关于如何阅读已安装的应用程序文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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