summaryrefslogtreecommitdiff
path: root/windows/neo-vars/Make-Build.bat
blob: 280158423636323dc25eb6ee5b08eb1921afba5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off

echo Setting local path variables
REM The path to the Auto Hotkeyprogram:
set ahk=C:\Programme\AutoHotkey
REM The path to the authohotkey directory in the local svn copy:
set svn=.
REM The filename of the joined script:
set fn=neo20-vars

rem echo Killing the old (AHK)Driver
rem tskill %fn%

echo Compiling the new Driver using Autohotkey
"%ahk%\Compiler\Ahk2Exe.exe" /in "%svn%\%fn%.ahk" /out "%svn%\%fn%.exe" /icon "%svn%\neo.ico"

echo Driver Update complete! You can now close this log-window.

REM Start the new Driver
rem %fn%.exe

REM wie kann man hier mit der Skriptabarbeitung weitermachen? Unter Windows XP scheint es nicht möglich zu sein, dies mit "Bordmitteln" zu erreichen, es gibt hierfür jedoch extere Programme, etwa:
REM  Start the new driver asynchronously, using "Hidden Start" (hstart.exe) from http://www.ntwind.com/software/utilities/hstart/
REM hstart.exe /NOCONSOLE /D="." "%fn%.exe"