rundll32 sysdm.cpl,EditEnvironmentVariables
C:\Windows\System32\cmd.exe /s /k pushd c:\Java
echo %~dp0
@echo off java -cp %~dp0/nutils-1.0-SNAPSHOT.jar com.intersult.nutils.net.traffic.TrafficProxy %*
sc create TestService binpath= "java -cp C:/Java/workspace/Test/target/classes -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y com.intersult.net.WinService" displayname= "Test Service" depend= Tcpip
Konfiguration unter:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\<Name>