lrossouw Wrote: 
> Wooohooo!  Thanks for your help. Got it to work. 
> "My" first perl!
> 
You're welcome.  Glad it works.

lrossouw Wrote: 
> 
> Created slimplay.bat with
> ***
> @echo off
> perl "C:\Documents and Settings\UserName\My Documents\Perl\play.pl" %1
> *** 
> Created play.pl with contents:
> 
> ...
> 
> placed the slimplay.bat in a my windows directory to be on the PATH.
> 
> now a command line is
> slimplay "My Folder"
> My Folder is a subfolder of the music library. This plays all songs in
> the folder.
> 

Can you save yourself a step and get rid of the bat script and just
call "perl C:\Documents and Settings\UserName\My Documents\Perl\play.pl
Arg1, Arg2..." instead?


-- 
MrC
------------------------------------------------------------------------
MrC's Profile: http://forums.slimdevices.com/member.php?userid=468
View this thread: http://forums.slimdevices.com/showthread.php?t=26293

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

Reply via email to