-
Notifications
You must be signed in to change notification settings - Fork 17
Sample Batch Launch Script
scroix edited this page Aug 7, 2024
·
3 revisions
launch_nodel.bat
Place a shortcut to this file in
shell:startup
directory, e.g.%AppData%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: TITLE : Auto-Launch Nodel Process Node ::
:: AUTHOR : Julien de Sainte-Croix ::
:: VERSION : 2.0.1 ::
:: EDIT : 9.03.2022 ::
:: INFO : Launch nodel, maybe kill explorer. ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@echo off
setlocal EnableExtensions
:: Variables
set exe=java.exe
set taskkill=taskkill /f /im explorer.exe >nul
:: Display logo.
:Logo
::: ___ ___ ___ ___ ___
::: /\__\ /\ \ /\ \ /\ \ /\__\
::: /:| _|_ /::\ \ /::\ \ /::\ \ /:/ /
::: /::|/\__\ /:/\:\__\ /:/\:\__\ /::\:\__\ /:/__/
::: \/|::/ / \:\/:/ / \:\/:/ / \:\:\/ / \:\ \
::: |:/ / \::/ / \::/ / \:\/ / \:\__\
::: \/__/ \/__/ \/__/ \/__/ \/__/
:::
for /f "delims=: tokens=*" %%A in ('findstr /b ::: "%~f0"') do @echo(%%A
:: Process Node startup
:Startup
c:
cd c:\nodel\
call java -jar nodel.jar
:: Setup kiosk mode.
:Kiosk
:: Remove rem below to disable Explorer
rem start %taskkill%
Nodel: http://nodel.io/ | White Paper