Tool help - $File without the file extension?

General questions about using TextPad

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

Post Reply
sgware
Posts: 4
Joined: Thu Apr 06, 2006 8:19 am

Tool help - $File without the file extension?

Post 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!
sgware
Posts: 4
Joined: Thu Apr 06, 2006 8:19 am

Post by sgware »

Oops, I think I found it. $BaseName Sorry!
Post Reply