Old 12th February 2004, 17:29   #1
shoutnewbie
Junior Member
 
Join Date: Feb 2004
Posts: 15
Command Line Batch Files

How would I write a batch file to contain playlists?
I have searched the forums but I was not able to come up with what I wanted.


@echo off
C:\Program Files\SHOUTcast\esc_serv.exe 128DEMO.conf
C:\Program Files\SHOUTcast\esc_serv.exe sc_serv.exe 48DEMO.conf
C:\Program Files\SHOUTcast\esc_serv.exe sc_serv.exe 24MONODEMO.conf
exit


Thanks
shoutnewbie is offline   Reply With Quote
Old 12th February 2004, 18:33   #2
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
Looks like your trying to instantiate multiple copies of the DNAS.

Paths with spaces in batch files need to be encapsulated by quotes.

Example:
"C:\Program Files\SHOUTcast\esc_serv.exe" 128DEMO.conf

FesterHead is offline   Reply With Quote
Old 12th February 2004, 19:18   #3
shoutnewbie
Junior Member
 
Join Date: Feb 2004
Posts: 15
Thanks. Multiple instances for multiple bitrates. Would you suggest aother way?

Rather than use firedemoen I am going to use windows seduled tasks to start on startup. What do you think of that?
shoutnewbie is offline   Reply With Quote
Old 12th February 2004, 19:21   #4
shoutnewbie
Junior Member
 
Join Date: Feb 2004
Posts: 15
I just tried that and rant the startup.bat however I did not see the processes running in the windows task manager

@echo off
"C:\Program Files\SHOUTcast\esc_serv.exe" 128DEMO.conf
"C:\Program Files\SHOUTcast\esc_serv.exe" 48DEMO.conf
"C:\Program Files\SHOUTcast\esc_serv.exe 24MONODEMO.conf
exit


Thanks
shoutnewbie is offline   Reply With Quote
Old 12th February 2004, 20:54   #5
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
To start on Windows startup, add an entry for each DNAS to the Start menu.

Works for me.

FesterHead is offline   Reply With Quote
Old 12th February 2004, 20:56   #6
shoutnewbie
Junior Member
 
Join Date: Feb 2004
Posts: 15
I would prefer just to get the batch file working properly.

Ideas?

Thanks
shoutnewbie is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump