I have to run slim.exe from a command line as I am using the
iTunesUpdate plugin and this does not work well (or at all) when
running slim as a service under Windows if you want real-time updating
of your play count/last played, etc.

The problem with running from a command line as a permanent solution is
that the DOS window remains visible.

To do it is quite simple.  You open a command prompt (under XP/2000
this is in the Start Menu under Accessories) and then..

- change directory to your slim install directory (you type "CD
C:\Program Files\SlimServer\Server" or the equivalent for your setup)
- start the program (you type "SLIM")

To avoid having an open window I use a utility called CMDOW (see
http://www.commandline.co.uk/cmdow/).  It's a useful tool that allows
you to run a command line in a 'hidden' window - BUT most AV systems
keep flagging it as a Hack tool and wanting to delete it!

I have the following CMDOW setup.

A small batch file in my windows directory containing the following:

cmdow /run /hid "c:\program files\slimserver\server\slim.exe"
exit

You can create this in notepad.  Mine's called startslim.bat.  I have a
shortcut to it in my Startup prgram group that ensures Slim starts when
Windows starts.

To make it work you need to put the cmdow.exe application somewhere
windows will look (in it's patch) such as C:\Windows.

Seems a bit Heath Robinson now I've written it down, but it works for
me and I get no problems with:

- lack of iTunes playlists
- inadvertent closing of the Slim application
- my lovely iTunesUpdate utility


-- 
jhurley
------------------------------------------------------------------------
jhurley's Profile: http://forums.slimdevices.com/member.php?userid=405
View this thread: http://forums.slimdevices.com/showthread.php?t=18232

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to