PC Review


Reply
Thread Tools Rate Thread

Copy Command- Concatenate

 
 
=?Utf-8?B?SmltbWUgUXVpbm4gUm9zcw==?=
Guest
Posts: n/a
 
      10th Feb 2005
Concatenate does not seem to work. I have two files about 2KB each, and when
I try to concatenate them into one file I end up with a file smaller than the
original.

ie file1+file2 newfile

file1=2KB
file2=2KB

newfile=500B

Any help will be greatly appreciated.

Jimme Quinn Ross
 
Reply With Quote
 
 
 
 
Phil Barila
Guest
Posts: n/a
 
      11th Feb 2005
"Jimme Quinn Ross" <Jimme Quinn (E-Mail Removed)> wrote in
message news:029708BC-7079-49A7-B7FC-(E-Mail Removed)...
> Concatenate does not seem to work. I have two files about 2KB each, and

when
> I try to concatenate them into one file I end up with a file smaller than

the
> original.
>
> ie file1+file2 newfile
>
> file1=2KB
> file2=2KB
>
> newfile=500B


Are they binary files, by any chance?

Try:
copy file1 /b + file2 /b newfile

The help for copy appears to suggest that newfile can also take a /b switch,
though I'm not sure what difference that would make.

Phil
--
Philip D. Barila Windows DDK MVP
Seagate Technology LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.
E-mail address is pointed at a domain squatter. Use reply-to instead.


 
Reply With Quote
 
=?Utf-8?B?SmltbWUgUXVpbm4gUm9zcw==?=
Guest
Posts: n/a
 
      11th Feb 2005


"Phil Barila" wrote:

> "Jimme Quinn Ross" <Jimme Quinn (E-Mail Removed)> wrote in
> message news:029708BC-7079-49A7-B7FC-(E-Mail Removed)...
> > Concatenate does not seem to work. I have two files about 2KB each, and

> when
> > I try to concatenate them into one file I end up with a file smaller than

> the
> > original.
> >
> > ie file1+file2 newfile
> >
> > file1=2KB
> > file2=2KB
> >
> > newfile=500B

>
> Are they binary files, by any chance?
>
> Try:
> copy file1 /b + file2 /b newfile
>
> The help for copy appears to suggest that newfile can also take a /b switch,
> though I'm not sure what difference that would make.
>
> Phil
> --
> Philip D. Barila Windows DDK MVP
> Seagate Technology LLC
> (720) 684-1842
> As if I need to say it: Not speaking for Seagate.
> E-mail address is pointed at a domain squatter. Use reply-to instead.
>
>
> Thanks! As I think of it, the last time I concatnated files they were ASCII text so the /b switch was not needed. Looks obvious to me now. Again thank you.


Jimme
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Concatenate Cathie Microsoft Excel Misc 1 27th Aug 2008 02:25 PM
Concatenate & transfer data by command button in VBA HLCruz via AccessMonster.com Microsoft Access VBA Modules 3 12th Apr 2007 05:48 PM
concatenate command Bob Phillips Microsoft Excel Misc 8 29th Nov 2005 06:19 PM
Concatenate and copy in VBA ANDYGM Microsoft Excel Programming 0 23rd Feb 2004 04:55 PM
Re: Concatenate command not working Richard Choate Microsoft Excel Setup 0 6th Jul 2003 10:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:59 AM.