从链接中提取真实文件位置 [英] Extracting A true file location from a link

查看:93
本文介绍了从链接中提取真实文件位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在墙上撞了几天后,我有一个完全没问题的问题。

难倒我。



我之后安装了一个程序,我可以启动任务管理器,找到已安装并正在运行的

EXE文件的目标。



每次安装程序时,链接都会略有不同。相同的一般区域,但

永远不会在同一个地方。



这是从VB安装的任何系统上提取这个位置的方式吗?



什么我想做的是从菜单功能中运行三个程序中的一个。



有人能指出我正确的方向吗?



谢谢大家!

After a few days of banging my head on the wall I have a question that has totally
stumped me.

After I installed a program, I can start the task manager and find the target of the
EXE file that was installed and is now running.

Each time I install the program the link is slightly different. Same general area but
never in the same exact place.

Is the a way from VB to extract this location on any system its installed on?

What I am trying to do is run one of three program from a menu function.

Can anyone point me in the right direction?

Thanks everyone!

推荐答案

你是如何使用发布向导安装''.exe''?,然后将setup.exe安装到安装(单击一次)或只是将文件复制到一台机器并创建一个快捷方式?



我这样说是因为(但如果我错了,请纠正我)我很漂亮确保您可以访问注册表以获取应用程序的已安装路径。那是否使用安装程序安装?



希望这有帮助!
How have you installed the ''.exe''?, using the publish wizard, then setup.exe to install (Click Once) or just copied the files to a machine and created a shortcut?

I say this because (but correct me if i am wrong) I am pretty sure you can access the registry to get the installed path of the application. That is if it is installed using the Setup?

Hope this helps!


这篇关于从链接中提取真实文件位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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