show active log in Textpad

I am executing a batch (.bat) file from command prompt and it executes for 30 minutes. I want the resultant log to be shown in a textpad. The log should be automatically updated in the active window as it is shown in CommandPrompt.

I'm using WindowsXP & my textpad path is "C:\Program Files\TextPad 4\TextPad.exe"
Ravi KallaTechnology LeadAsked:
Who is Participating?
Bill PrewConnect With a Mentor Commented:
Here's a thought on this.  If you create a new batch file that looks like this:

@echo off
echo .>"c:\temp\EE26102363.log"
start "" "C:\Program Files\TextPad 4\TextPad.exe" "c:\temp\EE26102363.log"
call "logger.bat" >>"c:\temp\EE26102363.log"

Here I am assuming that you have a current bat file that you want to capture all the output from, and I used the name "logger.bat", change that to the name of the real BAT file.

This new BAT file will be the driver, and first creates an empty log file for the results, then starts TextPad passing it the empty log file to open.  Then we proceed to execute the existing BAT file and direct all output to the log file.

In the TextPad window the file updates will appear, but only if you click out of the TextPad window and then back into it.  In Configure, Preferences, File I also set Auto-Reload so it didn't prompt to reload the file.

I haven't found a way to have TextPad real time update it's display of the file, if you know of a switch or setting that allows that let me know.  But figured I'd share this much and see if it's close to what you wanted.

Ravi KallaTechnology LeadAuthor Commented:
eventhough this is not the right solution, this is somewhat related to my question
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.