Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

Command line on Windows to Start/Stop LMS

$
0
0
Hi,

The LMS cache is often corrupted, and I need to clean it regularly.

To do that, I must first stop the server.

I'd like to make a script to automatize the process (on Windows 7 x64), but commands like:

Code:

Net stop SqueezeSvr
taskkill /F /IM SQEEZ~3.EXE

just don't work.

The LMS does not seem to be installed as a regular Windows service, it's not listed in the services control panel.

I can kill SQEEZ~3.EXE from the task manager (the DOS mangled name itself shows it's not launched in a standard way), but not from the command line.

Starting it is easy though using 'C:\Program Files (x86)\Squeezebox\server\SqueezeSvr'.

Any idea how I can stop it from the command line?

Viewing all articles
Browse latest Browse all 5300

Trending Articles