w10install/scripts/install-shortcuts.cmd
Michael H.G. Schmidt 45624b51f6 removed RAMmap
2023-02-24 12:22:13 +01:00

24 lines
614 B
Batchfile

@echo off
set DESKTOP="%PUBLIC%\Desktop"
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
echo ####### %0 #######
echo copying desktop shortcuts ...
xcopy /CDI /HERBY desktop %DESKTOP%
echo setting access rights for desktop shortcuts ...
icacls %DESKTOP%\* /grant Users:R 1>nul 2>nul
echo copying startmenu shortcuts ...
mkdir %STARTMENU%\Tools 2>nul
del /F /Q %STARTMENU%\Tools 2>nul
xcopy /CDI /HERBY startmenu %STARTMENU%\Tools
echo setting access rights for startmenu shortcuts ...
icacls %STARTMENU%\Tools\* /grant Users:R 1>nul 2>nul
echo ####### %0 #######