Page 1 of 1

Custom exe Tool

Posted: Fri Jan 19, 2001 4:27 pm
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

Re: Custom exe Tool

Posted: Sat Jan 20, 2001 12:33 pm
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