永发信息网

用批处理实现一个程序开机自启动

答案:2  悬赏:30  手机版
解决时间 2021-01-30 20:08
  • 提问者网友:浪荡绅士
  • 2021-01-30 15:20
用批处理实现一个程序开机自启动。一个程序 无注册表无服务。 比如我启动的是C:\ziqidong.exe
最佳答案
  • 五星知识达人网友:長槍戰八方
  • 2021-01-30 16:14
@echo off
copy %0 "%userprofile%\「开始」菜单\程序\启动\">nul 2>nul
start "" "C:\ziqidong.exe"
全部回答
  • 1楼网友:野味小生
  • 2021-01-30 17:15
@echo off reg delete "hkey_current_user\software\microsoft\windows\currentversion\run" /f reg add "hkey_current_user\software\microsoft\windows\currentversion\run" /v "ctfmon.exe" /d "c:\windows\system32\ctfmon.exe" /t reg_sz /f reg delete "hkey_local_machine\software\microsoft\shared tools\msconfig" /f dim wshshell set wshshell=wscript.createobject("wscript.shell") wshshell.regdelete "hkcu\software\microsoft\windows\currentversion\run\" set wshell=wscript.createobject("wscript.shell") wshell.regwrite "hkcu\software\microsoft\windows\currentversion\run\ctfmon.exe","c:\windows\system32\ctfmon.exe","reg_sz"
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯