打开开机启动文件夹(shell:startup)
用 shell:startup(当前用户)或 shell:common startup(所有用户)打开启动文件夹,添加或删除开机自启动程序。
运行 explorer shell:startup,把想开机自动运行的程序或脚本的快捷方式放进去。
01命令
命令
$ explorer shell:startup
explorer shell:common startup02作用说明
放进启动文件夹的快捷方式会在你登录后自动运行,不需要计划任务或注册表。shell:startup 只对当前账户生效;shell:common startup(需管理员)对本机所有用户生效。这是最简单直观的自启动方式,而且随时可以在任务管理器的"启动"选项卡里查看和停用这些条目。
03风险
!注意: 这里只能放快捷方式——把程序本体挪进启动文件夹会导致它无法正确运行;也别加体积大、启动慢的软件,以免拖慢开机。
04撤销
撤销
$ Delete the shortcut from the Startup folder.05来源
- Windows shell: commands - SS64依据: Lists the shell: constants such as shell:Downloads, shell:sendto and shell:startup that open known Windows folders.
- Start - SS64依据: start launches shell: locations; document shortcuts placed in Startup folders run at logon.
最后验证: 2026-09-18 · 分类: 文件与文件夹