From 04993e17ac86c52efb3730bb0ab69008d6f24224 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sat, 13 Mar 2021 00:40:26 +0100 Subject: [PATCH] added cyberjack script --- optional/install-cyberjack.cmd | 10 +++++++++- optional/install-googledrive.cmd | 6 +----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/optional/install-cyberjack.cmd b/optional/install-cyberjack.cmd index a82c610..9bfb615 100644 --- a/optional/install-cyberjack.cmd +++ b/optional/install-cyberjack.cmd @@ -1,6 +1,7 @@ @echo off set EXE=..\software\cyberjack-setup.exe +set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" if NOT EXIST %EXE% ( echo ERROR: %EXE% not found! @@ -10,7 +11,14 @@ if NOT EXIST %EXE% ( echo ####### %0 ####### echo installing printer ReinerSCT Cyberjack ... -start %EXE% +start /wait %EXE% + +echo changing cyberjack startmenu folder ... +move /Y %STARTMENU%\"Reiner SCT cyberjack\cyberjack*.*" %STARTMENU%\CyberJack.lnk 2>nul + +echo removing cyberjack startmenu folder ... +rd /S /Q %STARTMENU%\"Reiner SCT cyberjack" echo ####### %0 ####### pause + diff --git a/optional/install-googledrive.cmd b/optional/install-googledrive.cmd index 63c1e2a..21741ea 100644 --- a/optional/install-googledrive.cmd +++ b/optional/install-googledrive.cmd @@ -23,14 +23,10 @@ move /Y %STARTMENU%\"Backup and Sync from Google\Backup and Sync from Google.lnk %STARTMENU%\"Backup and Sync.lnk" echo removing google drive startmenu folder ... -@echo on rd /S /Q %STARTMENU%\"Backup and Sync from Google" -@echo off echo removing google desktop icons ... -@echo on -del /F /Q %PUBLIC%\Desktop\Google* -@echo off +del /F /Q %PUBLIC%\Desktop\Google* 2>nul rem refresh desktop (W10 style) ie4uinit.exe -show