www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/26/07:45:23

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU
Date: Tue, 26 Sep 1995 11:57:19 BST
Subject: How to get command-line args?

  I am sorry about yet another non-Gnu and non-C query, but in two big
comprehensive-looking books about PC interrupts I have found enough red
herrings to feed the cat for a year but nothing relevant to this query:-

  If I write a program QAZAQ.EXE or QAZAQ.COM in machine code (assembler), if
I call it with arguments from the DOS prompt e.g. by typing
      QAZAQ 123 \MYFILE.TXT "the cat caught the mouse" 1.65e-34
  how can the program QAZAQ read these call arguments?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019