Uh, I think copy, dir and a few others are part of the main command or cmd executable

-----Original Message-----
From: Taco Fleur [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 4:46 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Prepend instead of Append


search is done, nothing but xcopy (which I put there myself)
for cfexecute to work I need to the full path to the exe

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, 12 January 2004 3:40 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Prepend instead of Append


On Mon, Jan 12, 2004 at 03:30:27PM +1000, Taco Fleur wrote:

> Is there some way to prepend data to a file, instead of append?
> 
> Really what I am after is prepending column names to a LARGE text file, without 
> reading the whole file into memory.

What OS?

Create a text file with the header information only then:

- WINDOWS
  open a DOS session
  copy header_file.txt + large_file.txt destination.txt
  
- *nix
  cat header_file.txt large_file.txt > destination.txt

NOTE: Make *sure* you've got a backup of the large file. Getting
these sorts of commands wrong is easy, and very painful.

Cheers

Paul Haddon
Technical Services Manager
Formstar Print Technologies


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to