Page 1 of 1

Tool help - $File without the file extension?

Posted: Sun Aug 20, 2006 6:20 am
by sgware
I'm setting up a tool in Textpad to run a DOS batch file, but the batch file takes the file name without the extension as a parameter.

The name of the batch file is "spasm" so that Parameters box on the tool setup reads: "spasm $File"

Is ther something like $File-without-extension that I can use? Or maybe a regular expression? Thanks!

Posted: Sun Aug 20, 2006 6:26 am
by sgware
Oops, I think I found it. $BaseName Sorry!