Stefan:
--------------------------------------------------------------------------------
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"
--------------------------------------------------------------------------------


That worked fine and I was able to create the log file.  However, I'm using
Windows 7 and once I moved the AS11 assembler into "C:\Program Files (x86) ",
then as11.exe couldn't be found anymore.  So I added it to the path and that
fixed that problem.  Once that was fixed then the redirection was being ignored
(or not passed at all), so I implicitly stated the parameters as:

C:\Program Files (x86)\AS0_and_AS11_Assemblers\%Name%%Ext%

Now I get "Access is Denied" when I try to assemble the file.  Is there a
workaround for this?  Or am I now passing the parameters incorrectly?  Would it
just be best to keep the AS11.EXE out of the program folders?

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

Odpovedet emailem