Page 1 of 1

BAT Files

Posted: Mon Nov 05, 2007 10:31 am
by crazygray
How do you use batch files to run nasm

Posted: Mon Nov 05, 2007 10:45 am
by AJ
That's a little unspecific, but the general rule is fill the batch file with a new DOS command on each line. So for example:

Code: Select all

@echo off
nasmw -hf
Will output all supported nasm formats. To compile a program, replace -hf with your compilation command line.

Cheers,
Adam[/code]

Posted: Mon Nov 05, 2007 12:47 pm
by SpooK
The Win32 demos found in the NASMX package (Windows version) consist of batch files that demonstrate how to automate the build process for NASM under Windows.

Posted: Mon Nov 05, 2007 5:20 pm
by Combuster
given your previous thread question, and posting almost the same question thirty minutes earlier, I'd really suggest you consider that you tried using google, or at least read on How To Ask Questions.