Board index » delphi » Can i execute dos command in pascal ver 7 ?..

Can i execute dos command in pascal ver 7 ?..

hi..
pascal pros..
dennis here.
just want to ask you guys that can i execute dos command in pascal ver
7 such as del, dir, chkdsk, scandisk and etc...

thanks in advance..
bye

 

Re:Can i execute dos command in pascal ver 7 ?..


Quote
Dennis wrote in message <34bb620a.1190...@news.jaring.my>...
>hi..
>pascal pros..
>dennis here.
>just want to ask you guys that can i execute dos command in pascal ver
>7 such as del, dir, chkdsk, scandisk and etc...

>thanks in advance..
>bye

Yes, use the EXEC command.
Make sure to leave memory free with {$M }.
Look at examples in the help

Re:Can i execute dos command in pascal ver 7 ?..


I have the same question, though you need to be more specific. It's easy
to execute a DOS command in Pascal for DOS, use the EXEC command. I need
to do it in Windows Pascal. I have an encrypt and decrypt routine that
came from C++ (coded by a team member). I need to call those executables
in my Pascal CGI app. Any ideas?

-Scott Bartgis
(reply to personal email please - sco...@acmenet.net)

Quote
Dennis wrote:

> hi..
> pascal pros..
> dennis here.
> just want to ask you guys that can i execute dos command in pascal ver
> 7 such as del, dir, chkdsk, scandisk and etc...

> thanks in advance..
> bye

Other Threads