在IE中获取所选文件的路径 [英] Get path of selected file in IE
本文介绍了在IE中获取所选文件的路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
玩得开心
我想知道如何获取用户双击该文件的路径和名称.
我的意思是我想在Windows的资源管理器中双击该文件以在自己的应用程序中加载文件.
非常感谢
hi all
have a good time
i want to know how can i get path and name of a file that user is double clicking on that.
i mean i want to load a file in myself application with do double click on that with explorer in windows.
thanks a lot
推荐答案
您正在谈论文件关联,这意味着基于文件扩展名的程序将用于打开文件.
本文:将文件扩展名与Shell OPEN命令和应用程序相关联 [ ^ ]应该会让您入门.
You are talking about file association, meaning that based on the file extension a program is used to open it.
This article: Associate File Extension with Shell OPEN command and Application[^] should get you started.
这篇关于在IE中获取所选文件的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文