Category : C Source Code
Archive   : BCPPTECH.ZIP
Filename : TI804.ASC

 
Output of file : TI804.ASC contained in archive : BCPPTECH.ZIP







PRODUCT : Turbo C++ NUMBER : 804
VERSION : All
OS : DOS
DATE : February 25, 1992 PAGE : 1/1

TITLE : Spawning a batch (.bat) file




To spawn a batch file, you must spawn the command processor with
the batch file as an argument. For example:

spawnl(P_WAIT, "c:\\command.com",
"c:\\command.com","/c", "file.bat", NULL);

This example will spawn command.com assuming it is located in the
root directory of drive C and then tell command.com to execute a
batch file called file.bat!










































  3 Responses to “Category : C Source Code
Archive   : BCPPTECH.ZIP
Filename : TI804.ASC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/