🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15172

Re: CMD line

#15172
From: Jonathan Arnold
Date: Thu, 17 Jul 2003 20:32
17 lines
1606 bytes
> Is there a function that will let me use a command like this:

You can use the "system" call:

system("xbcp /x xdg01 -r -y -d -t -f E:\AK\Game\DATA\*.* xe:\AK_0.4.3.0\DATA\");

Or win exec:

WinExec("xbcp /x xdg01 -r -y -d -t -f E:\AK\Game\DATA\*.* xe:\AK_0.4.3.0\DATA\");

or even ShellExecut.

-- 
Jonathan Arnold         C/C++/CBuilder Keen Advice:
http://www.keen.com/categories/categorylist_expand.asp?sid=5156620
    Comprehensive C++Builder link site:
http://www.buddydog.org/C++Builder/c++builder.html
Technical Details
Message-ID: <3f1707c1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f170030$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,bfee2e09c77289f4
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-17 13:40:52 PST
Date: Thu, 17 Jul 2003 16:32:01 -0400
From: Jonathan Arnold <jdarnold@buddydog.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4; MultiZilla v1.4.0.4A) Gecko/20030624
X-Accept-Language: en-us, en, ja
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: CMD line
References: <3f170030$1@newsgroups.borland.com>
In-Reply-To: <3f170030$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66.92.76.225
Message-ID: <3f1707c1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058473921 66.92.76.225 (17 Jul 2003 13:32:01 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail