%Name% and %Ext% are PSPad arguments.

.

.

Instead of an compiler you can call a batch file 
and pass this args as parameters like:

myBatch.cmd "%Name%" %Ext%

.

.

Inside the batch you can access the provide arguments by %1 and %2, like:

@ECHO OFF
REM %Name%%Ext% -l > %Name%.LST
"%1.%2" -l > "%1.LST"

:EOF

.

.

-- 
greets,     Stefan
[img]http://pspad.milten.lima-city.de/Fan.gif[/img]  (pleased user since 1722)
[url=http://tinyurl.com/52xrj]inofficial FAQs[/url] +  
[url=http://forum.pspad.com/read.php?2,16286,page=2]Infos[/url] + 
[url=http://forum.pspad.com/read.php?6,24628]Special Settings[/url]

<http://forum.pspad.com/read.php?2,61449,61461>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem