BAT Files

Programming, for all ages and all languages.
Post Reply
User avatar
crazygray
Member
Member
Posts: 73
Joined: Sat Nov 03, 2007 10:17 am
Location: Toky,Japan

BAT Files

Post by crazygray »

How do you use batch files to run nasm
Imagine if a creature came from a 4 dimensional world, would he think you to be flat?
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post 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]
SpooK
Member
Member
Posts: 260
Joined: Sun Jun 18, 2006 7:21 pm

Post 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.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply