PC Review


Reply
Thread Tools Rate Thread

copy /b : What is the interest ???

 
 
Tonio
Guest
Posts: n/a
 
      23rd Jan 2005
Hi everybody,

For example :
In a directory I have 2 WMA files who are OK.
File1 = 10 MB
File2 = 5 MB

I want copied these 2 files on one and last file (test.wma)
I used 'copy /b...' as explain in help...

---------------------------------------------
C:\>copy /b *.wma test.wma
file1.wma
file2.wma
COPY OK !
---------------------------------------------

At the end, I have a big file 15 MB.
When I play test.wma, I listen file1.wma only.....
It isn't concatenate...
What is the interest of "copy /b" ????????????

Thx
Tonio
 
Reply With Quote
 
 
 
 
David Candy
Guest
Posts: n/a
 
      23rd Jan 2005
What makes you think wma files can be combined? Nearly all multimedia and most other files have headers.

--
----------------------------------------------------------
http://www.uscricket.com
"Tonio" <(E-Mail Removed)> wrote in message news:41f3af17$0$6623$(E-Mail Removed)...
> Hi everybody,
>
> For example :
> In a directory I have 2 WMA files who are OK.
> File1 = 10 MB
> File2 = 5 MB
>
> I want copied these 2 files on one and last file (test.wma)
> I used 'copy /b...' as explain in help...
>
> ---------------------------------------------
> C:\>copy /b *.wma test.wma
> file1.wma
> file2.wma
> COPY OK !
> ---------------------------------------------
>
> At the end, I have a big file 15 MB.
> When I play test.wma, I listen file1.wma only.....
> It isn't concatenate...
> What is the interest of "copy /b" ????????????
>
> Thx
> Tonio

 
Reply With Quote
 
Tonio
Guest
Posts: n/a
 
      23rd Jan 2005
David Candy a écrit :
> What makes you think wma files can be combined? Nearly all multimedia and most other files have headers.
>

In an Microsoft example, they do this :

copy /b *.exe combin.exe

So, replace wma by exe... and the result is the same....
What is the interest ?????? Il don't understand the option '/b'.
What is the goal of this option ???
 
Reply With Quote
 
David Candy
Guest
Posts: n/a
 
      23rd Jan 2005
You miss the f*ckin point. Why would they be combinable. Nothing to do with copy or /b.

/b means binary. Combines are ascii by default (and file copies are binary by default). Ascii are text files and follow text file rules. One rule is is Chr(26) terminates a file. Ascii is meant for stream devices (like com and prn ports) and binary for block devices (like hard drives). There is no way to know size on a stream so there is a end of file character.

--
----------------------------------------------------------
http://www.uscricket.com
"Tonio" <(E-Mail Removed)> wrote in message news:41f3b5a8$0$28920$(E-Mail Removed)...
> David Candy a écrit :
>> What makes you think wma files can be combined? Nearly all multimedia and most other files have headers.
>>

> In an Microsoft example, they do this :
>
> copy /b *.exe combin.exe
>
> So, replace wma by exe... and the result is the same....
> What is the interest ?????? Il don't understand the option '/b'.
> What is the goal of this option ???

 
Reply With Quote
 
Matthias Tacke
Guest
Posts: n/a
 
      23rd Jan 2005
Tonio wrote:
> David Candy a écrit :
>
>> What makes you think wma files can be combined? Nearly all multimedia
>> and most other files have headers.
>>

> In an Microsoft example, they do this :
>
> copy /b *.exe combin.exe
>
> So, replace wma by exe... and the result is the same....
> What is the interest ?????? Il don't understand the option '/b'.
> What is the goal of this option ???


The /b option is still useful. The end of file character Ctrl-Z may
occur in non-text file formats. To avoid these files being shortened
you have to use /b for every file - I'm not shure if it will work
with *.wav. The header of a wma contains information on the length
/duratin of the file it is not sufficient to simply copy the fils
to one, you need a tool which understands and corrects the headers
when concatenating the files.
I'll naever use wma or aac so I can't name such a tool ;-)

--
Gruesse Greetings Saludos Saluti Salutations
Matthias
---------+---------+---------+---------+---------+---------+---------+
 
Reply With Quote
 
Al Dunbar [MS-MVP]
Guest
Posts: n/a
 
      23rd Jan 2005

"Tonio" <(E-Mail Removed)> wrote in message
news:41f3b5a8$0$28920$(E-Mail Removed)...
> David Candy a écrit :
> > What makes you think wma files can be combined? Nearly all multimedia

and most other files have headers.
> >

> In an Microsoft example, they do this :
>
> copy /b *.exe combin.exe
>
> So, replace wma by exe... and the result is the same....
> What is the interest ?????? Il don't understand the option '/b'.
> What is the goal of this option ???


The MS example is a good one too, in that the copy/b operation does exactly
what it is supposed to do: copy and concatenate binary files. The docs NEVER
say that there is a functional ability to concatenate ANY type of binary
file into a similarly working one. If you did take their "advice" and
combine two .exe's into one, would you expect that you could run both
programs by running the combined version.

Then consider that one could copy two binaries that are in completely
different formats. Suppose you combined notepad.exe with a .WMA file, what
would you expect the result to actually be?

IMHO, the binary copy is there for those applications that need it. If you
want to somehow combine two .WMA files, you are likely going to need some
sort of multimedia editor to tell it if you want to run the two in sequence
or somehow mix them in together. No basic command line functionality is
going to do that for you.

/Al


 
Reply With Quote
 
Paul R. Sadowski [MVP]
Guest
Posts: n/a
 
      23rd Jan 2005
Hello, Al:
On Sun, 23 Jan 2005 11:15:45 -0700: you wrote...

ADM> IMHO, the binary copy is there for those applications that need it. If

Such as recombining large files split across flopies or CDs.

ADM> you want to somehow combine two .WMA files, you are likely going to
ADM> need some sort of multimedia editor to tell it if you want to run the
ADM> two in sequence or somehow mix them in together. No basic command line
ADM> functionality is going to do that for you.

Somewhat sideways but one can create a simple playlist:
echo c:\music\one.wma > mylist.m3u
echo c:\music\two.wma >> mylist.m3u
mylist.m3u

Regards, Paul R. Sadowski [MVP].


 
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
to compute interest rate from principal and interest amount =?Utf-8?B?UFZK?= Microsoft Excel Misc 3 28th Dec 2005 05:01 PM
Mtge calculation (Dly compound interest and multiple interest rate =?Utf-8?B?U3B1ZHNvbg==?= Microsoft Excel Programming 2 3rd Nov 2005 07:49 PM
How to calculate compound interest given table of dates/interest rate Mike Deblis Microsoft Excel New Users 1 4th Feb 2004 04:27 AM
How to calculate compound interest given table of dates/interest rate Mike Deblis Microsoft Excel Misc 1 4th Feb 2004 04:27 AM
Calculating compount interest from a table of dates/interest rates Mike Deblis Microsoft Excel Worksheet Functions 1 4th Feb 2004 04:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:13 AM.