w10install/scripts/install-openshell.cmd

25 lines
495 B
Batchfile
Raw Permalink Normal View History

2021-01-10 18:45:55 +01:00
@echo off
set SCRIPTS=..\scripts
set SOFTWARE=..\software
2021-02-27 20:07:28 +01:00
set EXE=openshell-setup.exe
2021-01-10 18:45:55 +01:00
2021-02-27 20:07:28 +01:00
if NOT EXIST %SOFTWARE%\%EXE% (
echo ERROR: %SOFTWARE%\%EXE% not found!
exit /b
)
2021-02-03 12:42:10 +01:00
2021-01-10 18:45:55 +01:00
echo ####### %0 #######
cd %SOFTWARE%
@echo on
2021-02-27 20:07:28 +01:00
%EXE% ADDLOCAL=StartMenu,ClassicExplorer /passive
2021-01-10 18:45:55 +01:00
@echo off
2021-02-03 12:42:10 +01:00
cd %SCRIPTS%
echo removing OpenShell Readme file link ...
2023-02-24 12:22:13 +01:00
del /F /Q "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Open-Shell\Open-Shell Readme.lnk" 2>nul
2021-01-10 23:14:52 +01:00
2021-01-10 18:45:55 +01:00
echo ####### %0 #######