Custom exe Tool

General questions about using TextPad

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

Post Reply
Kevin Rowles

Custom exe Tool

Post by Kevin Rowles »

I have a custom executable that takes 3 parameters:

1. input filename with no extension
2. output directory
3. input directory [optional]

How do I get textpad to ignore the .med on the end of the input file?
How do I get textpad to make the paths relative to my command dir making the structure like ..\..\source instead of c:\..\..\source?

Thanks!

Kevin
Andreas

Re: Custom exe Tool

Post by Andreas »

First parameter should be: $FileDir\$BaseName

$BaseName is filename without path and extension.

I don't think textpad supports paths relative to a given directory.

You could try giving $FileDir as third parameter and then use $BaseName as first param.

Andreas
Post Reply