 Streamripper Scripting For Windows Help Needed
I've been using Streamripper scripts for Linux Mint for a year. The scripts I found a template for work well for saving streams and naming them with the date format I choose. I want to be able to do the same thing in Windows but the command line naming and dating is limited. What I want to do is to crate a script that will allow me to name the file in this format "PROGRAMNAME 07-17-2017.(format suffix)". Here is an example of a script that does this in Linux.
-----------------------------------------------------------------------------
#!/bin/sh
date=`date +"%m-%d-%Y"`
url=http://live2.darkmatterdigitalnetwork.com:10133/stream
output_filename=Conspirinormal_${date}
duration=10800
output_dir=/home/someuser/Audio/DMDN/Conspirinormal/
cd $output_dir
streamripper $url -d $output_dir -l $duration -a $output_filename
---------------------------------------------------------------------------
#!/bin/sh
date=`date +"%m-%d-%Y"`
url=http://live2.darkmatterdigitalnetwork.com:10133/stream
output_filename=Conspirinormal_${date}
duration=10800
output_dir=/home/someuser/Audio/DMDN/Conspirinormal/
cd $output_dir
streamripper $url -d $output_dir -l $duration -a $output_filename
----------------------------------------------------------------------------
Can anyone tell me how to do the same thing with a Windows batch file?
Thank you
Kylearan
|