2021-01-10 18:45:55 +01:00
|
|
|
@echo off
|
2023-02-20 09:24:42 +01:00
|
|
|
set TOOLS=%SystemDrive%\tools
|
2021-01-10 18:45:55 +01:00
|
|
|
set TARGET="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Startup"
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|
2021-01-12 19:11:44 +01:00
|
|
|
echo cleanup ...
|
2021-01-10 18:45:55 +01:00
|
|
|
del /Q /F %TARGET%\logon* 1>nul 2>nul
|
2021-01-12 19:11:44 +01:00
|
|
|
rd /S /Q %PUBLIC%\Desktop\Startup 1>nul 2>nul
|
2021-01-10 18:45:55 +01:00
|
|
|
|
2021-01-12 19:11:44 +01:00
|
|
|
echo creating link for logon script ...
|
2021-01-10 18:45:55 +01:00
|
|
|
mklink %TARGET%\logon.cmd %TOOLS%\logon.cmd
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|