确定快捷方式的开始目录 [英] Determinining start directory of a shortcut

查看:84
本文介绍了确定快捷方式的开始目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以确定在哪里启动程序的快捷方式(在资源管理器中双击)?我知道可以在其中指定开始于"在属性选项卡中,但是我需要在相当多的位置创建同一程序的快捷方式,并且要访问每个快捷方式启动的目录.手动设置开始于"是不希望的.

Is there any way to determine where a shortcut to a program is started (double-clicked in Explorer)?  I know there one can specify "Start in" in the property tab, but I need to make shortcuts of the same program at quite a few locations and want to access the directory where each shortcut is started.  It's not desirable to manually set the "Start in" for all the shortcuts.

推荐答案

IShellLink :: Set/GetWorkingDirectory
http://msdn.microsoft.com/en-us/library/bb761058(VS.85).aspx
IShellLink::Set/GetWorkingDirectory
http://msdn.microsoft.com/en-us/library/bb761058(VS.85).aspx


这篇关于确定快捷方式的开始目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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