Author Topic: NASM opens and closes very fast  (Read 7580 times)

Offline kronos

  • Jr. Member
  • *
  • Posts: 4
  • Country: 00
NASM opens and closes very fast
« on: August 07, 2015, 02:39:33 PM »
when i open the nasm exe a command console opens and closes very fast.can anyone solve this? and i have windows 8 operating system.
« Last Edit: August 07, 2015, 03:02:17 PM by kronos »

Offline shaynox

  • Full Member
  • **
  • Posts: 118
  • Country: gr
Re: NASM opens and closes very fast
« Reply #1 on: August 08, 2015, 07:19:51 AM »
- Left Shift + Right Click > Open window command here > ...\nasm

Offline kronos

  • Jr. Member
  • *
  • Posts: 4
  • Country: 00
Re: NASM opens and closes very fast
« Reply #2 on: August 08, 2015, 11:19:02 AM »
should i always enter the full path to nasm before entering any command and can u tell me why it closes so fast.And thanks for the reply
« Last Edit: August 08, 2015, 11:30:35 AM by kronos »

Offline shaynox

  • Full Member
  • **
  • Posts: 118
  • Country: gr
Re: NASM opens and closes very fast
« Reply #3 on: August 08, 2015, 04:08:04 PM »
It's not a GUI, it's a CUI, refer you to nasm's doc for know uses it http://nasm.us/docs.php .
And for knowing how to use cmd, read tuto about it and batch file too.
And not needed, if you are in paths where is nasm, just type nasm.

Offline kronos

  • Jr. Member
  • *
  • Posts: 4
  • Country: 00
Re: NASM opens and closes very fast
« Reply #4 on: August 12, 2015, 03:24:19 PM »
yes I know how to use cmd what i am trying to say is when i open nasm.exe it exits automatically after execution and  i noticed the same in .com files but in com files there is a option in properties that says close on exit when i deselect this option there is no problem the com file stays open so is there any way to keep nasm.exe file open even after it is executed.   
« Last Edit: August 12, 2015, 03:32:01 PM by kronos »

Offline shaynox

  • Full Member
  • **
  • Posts: 118
  • Country: gr
Re: NASM opens and closes very fast
« Reply #5 on: August 12, 2015, 04:37:44 PM »
Why do you want that nasm's executable to stay open ? it's just an assembler in console.

I don't know if there is a way to keep console program open if it's not programed for that.

np
« Last Edit: August 13, 2015, 03:27:02 PM by shaynox »

Offline kronos

  • Jr. Member
  • *
  • Posts: 4
  • Country: 00
Re: NASM opens and closes very fast
« Reply #6 on: August 13, 2015, 02:57:18 PM »
thanks for the reply