Initial commit - EENE Dashboard
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
19
윈도우시작등록.bat
Normal file
19
윈도우시작등록.bat
Normal file
@@ -0,0 +1,19 @@
|
||||
@echo off
|
||||
chcp 65001 > nul
|
||||
title Auto Start Registration
|
||||
|
||||
set STARTUP=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
|
||||
set TARGET=%~dp0서버시작.bat
|
||||
|
||||
echo Registering EENE Dashboard for Windows startup...
|
||||
echo.
|
||||
|
||||
powershell -Command "$ws = New-Object -ComObject WScript.Shell; $lnk = $ws.CreateShortcut('%STARTUP%\EENE-Dashboard.lnk'); $lnk.TargetPath = '%TARGET%'; $lnk.WorkingDirectory = '%~dp0'; $lnk.Description = 'EENE Dashboard Auto Start'; $lnk.Save()"
|
||||
|
||||
if %errorlevel% equ 0 (
|
||||
echo [Done] Server will auto-start when Windows boots.
|
||||
) else (
|
||||
echo [Error] Please run as Administrator.
|
||||
)
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user