@echo off
:########################################################################### 
:# File name: zilla_service_stop.bat
:# Edited Last By: Mike Gleaves (ric) 
:# V 1.0 21-9-2014
:# Comment: Saves return path and creates current folder as working diectory
:#          Stops and uninstalls FileZilla service.
:#          Restores return path and returns must use exit to return.
:############################################################################

pushd %~dp0

"FileZilla server.exe" -stop
"FileZilla server.exe" -uninstall
echo Service stopped and uninstalled
pause
popd
exit
