Article View: comp.os.msdos.programmer
Article #7793Re: Help - DOS commands from program...
From: Jeff Meyers
Date: Thu, 28 Jan 1993 08:34
Date: Thu, 28 Jan 1993 08:34
17 lines
1391 bytes
1391 bytes
In article <douglas.728190495@willow.cs.scarolina.edu> douglas@cs.scarolina.edu (G. David Douglas Jr.) writes:
.
.
.
>With the exec command you're using, do you give it
>the name of the file and the parameters to pass to the utility
>(e.g. exec('C:\COMMAND.COM', '/C CD C:\'); ) or does it
Yep, that's the form. The first parameter is any program name, the second
parameter is the command line arguments to give to that program. I am
using Turbo Pascal 6.0 and DOS 5 for what it's worth...
--
============================================================================
| Jeff Meyers | jmeyers@ecst.csuchico.edu | 39x43'N 121x48'W |
| Chico, Ca 95926 | KD6DIS@KE6LW.#NOCAL.CA.USA.NA | Grid: CN80-CM99 ?? |
============================================================================
Technical Details
Message-ID:
<1k85qtINNlt@charnel.ecst.csuchico.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!spool.mu.edu!olivea!charnel!jmeyersReferences:
<douglas.728101903@ebony.cs.scarolina.edu> <1k5i8eINNq8f@charnel.ecst.csuchico.edu> <douglas.728190495@willow.cs.scarolina.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!spool.mu.edu!olivea!charnel!jmeyers From: jmeyers@ecst.csuchico.edu (Jeff Meyers) Newsgroups: comp.os.msdos.programmer Subject: Re: Help - DOS commands from program... Message-ID: <1k85qtINNlt@charnel.ecst.csuchico.edu> Date: 28 Jan 93 08:34:37 GMT References: <douglas.728101903@ebony.cs.scarolina.edu> <1k5i8eINNq8f@charnel.ecst.csuchico.edu> <douglas.728190495@willow.cs.scarolina.edu> Organization: California State University, Chico Lines: 17 NNTP-Posting-Host: psycho.ecst.csuchico.edu