[comp.lang.pascal] Turbo Pascal: Call a DOS command from inside a program?

ndeng@EULER.BERKELEY.EDU (05/08/90)

  I have a question about programming in Turbo Pascal(V5.5). I am trying to
execute a DOS command from inside a program, TP manual says I can do this 
by procedure exec (), but it doesn't work! Even the example provided in the
manual doesn't work!

  If somebody in the netland did this before, could you give me a pointer
on how to do this properly, and, better yet, to provide me some examples
you have tried and worked? Thanks in advance.

  Please don't post, send e-mail only, as I don't read newsgroups regularly.
If there is enough interest, I will post a summary.


Mike
ndeng@euler.berkeley.edu