用 Windows 模拟 "drag & drop"

Simulate "drag & drop" with Windows

我如何使用 Windows 参数模拟 "drag & drop" 文件 "object line" Object line in red rectangle (image example)

快捷方式属性对话框不支持拖放(据我所知既不支持文件也不支持文本)。

您可以使用 UI Automation 来更改文本,但仅修改快捷方式 .lnk 文件是更好的选择。

您可以在实际应用程序中使用脚本语言set TargetPath and Arguments on a WshShortcut object or use the IShellLink interface