From 63ae3c80662155b2fb18aecc2724c34f76f00c86 Mon Sep 17 00:00:00 2001 From: iotcat Date: Tue, 28 Jan 2020 23:04:30 +0000 Subject: [PATCH] Committed by cron-git from Yimian-PC --- script/admin.bat | 3 +++ script/startup.bat | 1 - script/新建文本文档.txt | 0 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 script/admin.bat delete mode 100644 script/新建文本文档.txt diff --git a/script/admin.bat b/script/admin.bat new file mode 100644 index 0000000..86586cd --- /dev/null +++ b/script/admin.bat @@ -0,0 +1,3 @@ +%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit +cd /d "%~dp0" +move /y ..\tmp.bat "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\fdc.bat" \ No newline at end of file diff --git a/script/startup.bat b/script/startup.bat index 13dbdf0..d6ecf73 100644 --- a/script/startup.bat +++ b/script/startup.bat @@ -16,7 +16,6 @@ set s=%%i set s=!s:$$$$=%cd%! echo !s!))>temp1126.txt move /y temp1126.txt "%fn%" -move /y tmp.bat "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\fdc.bat" npm i -g npm echo Setup finished!!! pause diff --git a/script/新建文本文档.txt b/script/新建文本文档.txt deleted file mode 100644 index e69de29..0000000