Hi, I'm creating a batch file and then executing it via <cfexecute. Everything is working great except for the output to screen.
<cfexecute name="#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.xxx" outputfile="#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog" timeOut="1000"> </cfexecute> </ul> <cffile action="READ" file="#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog" variable="results"> <cfoutput> <cfset results = #Replace(results,"-","_","ALL")#> #Replace(results,chr(10),"<br>","ALL")# </cfoutput> I get the following: C:\WINNT\system32>setlocal C:\WINNT\system32>d: D:\>cd D:\mywork\test\documents\123 D:\mywork\test\documents\123>C:\programs\runme filename.txt 45 Aborted: Unacceptable... What I want is to ignore the first 4 lines in the output to screen and only display "Aborted: ..." How would I go about this? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4