summaryrefslogtreecommitdiff
path: root/Setup.bat
blob: 9491fa3954bbaea0f737ac5d89638357a5f26d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@echo off

net use /persistent:no V: \\fileserver\software\element

mkdir %APPDATA%\Element
copy v:\config.json %APPDATA%\Element
v:\setup.exe

timeout /t 60 /nobreak > NUL

echo y | net use V: /delete

cd %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
move %USERPROFILE%\Desktop\Element.lnk