Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Most probably you just downloaded the wrong package. Get the win32 binaries from sourceforge, unzip the files to c:\nasm and then run nasmw.exe from a DOS prompt.
At this juncture I'd suggest you get a lot more experience with the tools and techniques related to programming, and do a lot of userland programming before even considering writing an OS. I'm noticing a lot of gaps in your knowledge along with a general unwillingness to experiment and explore under your own steam. Related to that I'd also suggest reading as much of everything as you can, it'll be good practice for when you have to read vast amounts of (sometimes terrible) documentation for the various devices in a PC (or your intended target platform).
In answer to your question, you run NASM with various commandline parameters in order to assemble your program, invoking it on its own (to my knowledge) should merely result in it giving an error or giving you a list of possible parameters (or both).
James wrote:
I tried to compile one of .asm files and it said nasm was an un-recognised command
That's because the file isn't called nasm.exe but nasmw.exe (NASM for Windows). If you still want to use 'nasm' instead of 'nasmw', just edit the file name. It works!
Candamir
PS: I also recommend to add the NASM directory to your path.