removed goole drive script
This commit is contained in:
parent
8a631f4d27
commit
d1f8f5bf52
@ -1,40 +0,0 @@
|
|||||||
@echo off
|
|
||||||
|
|
||||||
set OPT=..\optional
|
|
||||||
set SOFTWARE=..\software
|
|
||||||
set MSI=gsync-setup.msi
|
|
||||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
|
||||||
|
|
||||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
|
||||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
|
||||||
exit /b
|
|
||||||
)
|
|
||||||
|
|
||||||
echo ####### %0 #######
|
|
||||||
|
|
||||||
cd %SOFTWARE%
|
|
||||||
@echo on
|
|
||||||
msiexec /i %MSI% /qn
|
|
||||||
@echo off
|
|
||||||
cd %OPT%
|
|
||||||
|
|
||||||
echo changing startmenu folder ...
|
|
||||||
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 ...
|
|
||||||
rd /S /Q %STARTMENU%\"Backup and Sync from Google" 2>nul
|
|
||||||
|
|
||||||
echo removing google desktop icons ...
|
|
||||||
del /F /Q %PUBLIC%\Desktop\Google*.* 2>nul
|
|
||||||
|
|
||||||
echo refreshing desktop (W10 style) ...
|
|
||||||
ie4uinit.exe -show
|
|
||||||
|
|
||||||
echo removing update tasks ...
|
|
||||||
schtasks /Delete /F /TN GoogleUpdateTaskMachineUA 2>nul
|
|
||||||
schtasks /Delete /F /TN GoogleUpdateTaskMachineCore 2>nul
|
|
||||||
|
|
||||||
echo ####### %0 #######
|
|
||||||
pause
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user