home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12502 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.3 KB

  1. Path: sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!spool.mu.edu!olivea!charnel!jmeyers
  2. From: jmeyers@ecst.csuchico.edu (Jeff Meyers)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Help - DOS commands from program...
  5. Message-ID: <1k85qtINNlt@charnel.ecst.csuchico.edu>
  6. Date: 28 Jan 93 08:34:37 GMT
  7. References: <douglas.728101903@ebony.cs.scarolina.edu> <1k5i8eINNq8f@charnel.ecst.csuchico.edu> <douglas.728190495@willow.cs.scarolina.edu>
  8. Organization: California State University, Chico
  9. Lines: 17
  10. NNTP-Posting-Host: psycho.ecst.csuchico.edu
  11.  
  12. In article <douglas.728190495@willow.cs.scarolina.edu> douglas@cs.scarolina.edu (G. David Douglas Jr.) writes:
  13. .
  14. .
  15. .
  16. >With the exec command you're using, do you give it
  17. >the name of the file and the parameters to pass to the utility
  18. >(e.g.  exec('C:\COMMAND.COM', '/C CD C:\'); )  or does it
  19.  
  20. Yep, that's the form.  The first parameter is any program name, the second
  21. parameter is the command line arguments to give to that program.  I am
  22. using Turbo Pascal 6.0 and DOS 5 for what it's worth...
  23.  
  24. -- 
  25. ============================================================================
  26. | Jeff Meyers      |  jmeyers@ecst.csuchico.edu      | 39x43'N  121x48'W   |
  27. | Chico, Ca 95926  |  KD6DIS@KE6LW.#NOCAL.CA.USA.NA  | Grid: CN80-CM99 ??  |
  28. ============================================================================
  29.