moved some scripts to user area
This commit is contained in:
parent
293e08a69b
commit
6097a55905
@ -1,8 +1,6 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\spotify-setup.exe
|
||||
set EXE=%SystemDrive%\tools\software\spotify-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
|
||||
set EXE=..\software\teams-setup.exe
|
||||
set EXE=%SystemDrive%\tools\software\teams-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
|
||||
set EXE=..\software\telegram-setup.exe
|
||||
set EXE=%SystemDrive%\tools\software\telegram-setup.exe
|
||||
set STARTMENU_USER="%APPDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
26
scripts/mkinstall_links.cmd
Normal file
26
scripts/mkinstall_links.cmd
Normal file
@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
|
||||
set TOOLS=%SystemDrive%\tools
|
||||
set STARTMENU=%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
IF NOT EXIST ..\optional\users (
|
||||
echo ..\optional\users NOT found!
|
||||
goto END
|
||||
) else (
|
||||
|
||||
echo creating install links in users start menu ...
|
||||
mkdir "%STARTMENU%\INSTALL"
|
||||
|
||||
cd ..\optional\users
|
||||
FOR %%L in (*.cmd) do (
|
||||
echo processing ... [ %%L ]
|
||||
mklink "%STARTMENU%\INSTALL\%%L" %TOOLS%\optional\users\%%L 2>nul
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
:END
|
||||
echo ####### %0 #######
|
||||
|
Loading…
Reference in New Issue
Block a user