is it possible to run a file using pascal?

Hi, I am new here. I'm using Free Pascal v2.2.4 and I need to run a *.bat windows file. Can I make my program to run that file? This works perfectly fine on windows cmd.exe - you just type in the filename bang on enter and the file opens in the appropriate program. So can I make the pascal to run a .bat file?
THanks in advance :)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!