home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!uchdcc!egodoy
- From: egodoy@dcc.uchile.cl (GODOY VEGA EDUARDO SALVADOR)
- Subject: Re: can't get EXEC to work
- Originator: egodoy@dcc.uchile.cl
- Sender: usenet@dcc.uchile.cl (Network News)
- Message-ID: <1992Sep05.143158.6276@dcc.uchile.cl>
- Date: Sat, 05 Sep 1992 14:31:58 GMT
- References: <la5469INNgd2@langtry.cs.utexas.edu> <1992Sep2.182522.19@apap4>
- Organization: Universidad de Chile, Depto. de Ciencias de la Computacion
- Lines: 38
-
-
- In article <1992Sep2.182522.19@apap4>, roesel@apap4.pap.univie.ac.at writes:
- >In article <la5469INNgd2@langtry.cs.utexas.edu>, joel@cs.utexas.edu (Joel Daniel Just) writes:
- >> I am having trouble getting the EXEC command to work in Turbo Pascal v5.0 on
- >> the PC. Here is an example program:
- >>
- >> PROGRAM TEST;
- >> USES DOS;
- >> BEGIN
- >> EXEC('dir','');
- >> WRITELN('DONE')
- >> END.
- >>
- >> When I run this program, 'DONE' is printed, and nothing else happens. The
- >> EXEC command doesn't seem to be executed, no matter what I put in between the
- >> two sets of quotes in the EXEC call. Even if I put garbage between the
- >> quotes, I don't get an error. I just get 'DONE' and that's it.
- >>
- >>
- >
- One of most common error is that EXEC need to work in the same directory that
- command.com ... if EXEC can't find these archive then don't work.!
- Ok.
- Maybe it will be useful !.
-
-
-
- --
- +---------------------------------------------------------------------------+
- | egodoy@dcc.uchile.cl | Ingenieria Civil Computacion |
- | Eduardo Godoy Vega | U. de Chile. |
- +---------------------------------------------------------------------------+
- --
- +---------------------------------------------------------------------------+
- | egodoy@dcc.uchile.cl | Ingenieria Civil Computacion |
- | Eduardo Godoy Vega | U. de Chile. |
- +---------------------------------------------------------------------------+
-