Ok short version first
I need to find a way to put the output of one program into the command line of another.
Dates.exe -> 6-3-2005
Zip %dates%.zip *.html
output into 6-3-2005.zip
is basicly what I want to do
If that doesn't make sence heres the long version
I have a stat program that generates html files, now in order to sort them I want to use the date as a filename for the zip file. So I have a date program that outputs the right format and a command line archive utility(zip program). .... MY Problem is I can't figure out how to set a variable from a txt file or output of the Date program, or use the output of the Date program in the command line of the zip program.
If anyonw can help please do.
I need to find a way to put the output of one program into the command line of another.
Dates.exe -> 6-3-2005
Zip %dates%.zip *.html
output into 6-3-2005.zip
is basicly what I want to do
If that doesn't make sence heres the long version
I have a stat program that generates html files, now in order to sort them I want to use the date as a filename for the zip file. So I have a date program that outputs the right format and a command line archive utility(zip program). .... MY Problem is I can't figure out how to set a variable from a txt file or output of the Date program, or use the output of the Date program in the command line of the zip program.
If anyonw can help please do.