【问题标题】:How to create an "Add To Startup" option in the Windows context menu when you right-click a file?右键单击文件时,如何在 Windows 上下文菜单中创建“添加到启动”选项?
【发布时间】:2021-11-29 06:43:12
【问题描述】:

我正在尝试通过符号链接将“添加到启动”选项添加到我的上下文菜单中。

当我手动运行该命令时,它运行良好。但是当我从上下文菜单运行它时它不起作用。

我的命令是:mklink %1 "C:\Startup"

C:\Startup 实际上是指向原始 Startup 文件夹的符号链接。

我已通过 regedit 和 HKEY_CLASSES_ROOT\*\shell\Sym To Start\command 将其添加到上下文菜单中,但我没有任何运气。

我什至尝试过使用 Powershell 来运行命令:

powershell.exe -command "Start-Process cmd -ArgumentList 'mklink %1 C:\Startup' -Verb runAs"

谁能帮忙?

【问题讨论】:

标签: windows cmd registry contextmenu startup


【解决方案1】:

我在这里找到了解决方案:https://www.the-automator.com/add-to-startup/

Add to Startup 是一个简单、免费的 Windows 工具,可在上下文菜单中添加一个选项。安装后,只需右键单击 Windows 资源管理器中的任何文件,您就会看到“添加到启动”选项

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-10-20
    • 2012-05-28
    • 1970-01-01
    • 1970-01-01
    • 2010-09-21
    • 2021-04-03
    • 2010-10-20
    • 1970-01-01
    相关资源
    最近更新 更多