TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KRIS O`SHEA
from: JERRY COFFIN
date: 1997-04-24 09:35:00
subject: DOS commands

On (14 Apr 97) Kris O'shea wrote to All...
 KO> Hi All!
 KO> Does anyone know how you can use DOS commands such as "COPY" and
 KO> "RENAME" etc. in C/C++ programs.
 KO> I remember doing it once before, using a special keyword but I've lost
 KO> the
 KO> source code for it. It's something like:
 KO>          ""
It's not a keyword, but a library function - specifically system(),
assuming you're writing a DOS or Win32 program.  If you're writing a
Win16 program, you need to use WinExec instead.
    Later,
    Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.