dr Watson using find command

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Robbie

dr Watson using find command

Post by Robbie »

L.S.

I have the following problem using textPad 3.2.5. I also downloaded the latest evaluation version 4.6.2 but it didn't solve the problem.

We use a batch process in a NT 4 SP6a workstation that is initiated from the TextPad Tools menu. Output is captured and presented. The procedure was recently changed, a find command was added and since than the process aborts during the process of the find. The process does not dump when used on the command line in a dos box (or in UltraEdit).

Steps to recreate the error:
1) Create a text file c:\test.txt

Code: Select all

content test.txt
2) Create the batch file c:\test.bat

Code: Select all

find.exe "content" c:\test.txt
3) Add the process to TextPad, use Capture Output.
4) Initiate the batch process on the Tools menu.

Q: What is the workaround for the error?

Thx in advance
Robbie
User avatar
bbadmin
Site Admin
Posts: 1022
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Post by bbadmin »

As it's find.exe, not TextPad that's crashing, I guess it must have a bug that prevents its stdout being redirected to TextPad. Try using grep instead. You can obtain a copy that works from here:
http://www.interlog.com/~tcharron/grep.html

Keith MacDonald
Helios Software Solutions
Robbie

Post by Robbie »

Thx for the answer and the link.

I never had any trouble with FIND until now. GREP seems to work ok.

Robbie
User avatar
bbadmin
Site Admin
Posts: 1022
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Post by bbadmin »

Out of interest, I added find.exe as a tool to MS Visual Studio 2003, and it crashes in exactly the same way as with TextPad. I reckon that puts us in the clear. 8)

Keith MacDonald
Helios Software Solutions
Post Reply