Search found 5 matches

by script-newbie
22 Aug 2012 10:44
Forum: DOS Batch Forum
Topic: Reading command line output from another batch script?
Replies: 10
Views: 6339

Re: Reading command line output from another batch script?

I really appreciate the help! But I am not sure if this solution will work. FOR /F "tokens=*" %%i in ('"ccextractorwin.exe" --gui_mode_reports -out^=srt -trim GP066367.mpg -stdout -o GP066367.srt') do ( echo TEST %%i ) When this executes it outputs the CCExtractor output but I am...
by script-newbie
20 Aug 2012 17:35
Forum: DOS Batch Forum
Topic: Reading command line output from another batch script?
Replies: 10
Views: 6339

Re: Reading command line output from another batch script?

This command does indeed work in the command prompt.

Code: Select all

ccextractorwin.exe --gui_mode_reports -trim GP05312.mpg -out=srt


It appears the = sign is causing problems.
by script-newbie
20 Aug 2012 17:27
Forum: DOS Batch Forum
Topic: Reading command line output from another batch script?
Replies: 10
Views: 6339

Re: Reading command line output from another batch script?

Hey I tried this: FOR /F "tokens=*" %%i in ('"ccextractorwin.exe" --gui_mode_reports -trim GP066367.mpg -out=srt') do ( echo sadsd %%i ) It seems to work but for whatever reason it seems to think: out=srt is an input file. It is trying to process "srt" as its own file. ...
by script-newbie
20 Aug 2012 17:04
Forum: DOS Batch Forum
Topic: Reading command line output from another batch script?
Replies: 10
Views: 6339

Re: Reading command line output from another batch script?

Thanks for the reply!

That worked. Is there a way to get the 'stdOut' output similar to the 'stdErr?'

Code: Select all

FOR /F "tokens=*" %%i in ('"ccextractorwin.exe --gui_mode_reports -out=srt -trim GP066367.mpg"') do (
   echo %%i
)


This doesn't seem to work! :oops:
by script-newbie
20 Aug 2012 11:30
Forum: DOS Batch Forum
Topic: Reading command line output from another batch script?
Replies: 10
Views: 6339

Reading command line output from another batch script?

Hey guys, I am relatively new to DOS and Batch Scripting but I am attempting to make a Batch script file that does a rough time calculation based on a time (I.E. 08:24) from a third party program. The way it works is I first execute a third party program called "CCExtractor". It begins wri...