Skip to content

Instantly share code, notes, and snippets.

@Zensey
Created November 8, 2016 09:02
Show Gist options
  • Save Zensey/5fe7a2051a2db2c5c4033a94b4a443bf to your computer and use it in GitHub Desktop.
Save Zensey/5fe7a2051a2db2c5c4033a94b4a443bf to your computer and use it in GitHub Desktop.
set appdir=%~dp0
cd %appdir%
@echo off
@setlocal
nssm.exe install Syncthing syncthing.exe -no-console -no-browser -home="c:\users\litvinov.a\AppData\Local\Syncthing"
nssm set Syncthing AppDirectory %appdir%
nssm.exe edit Syncthing
net start Syncthing
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment