• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Re: DOS DIR and length

B

+Bob+

#1
On Tue, 12 May 2009 12:19:23 -0400, Tim Slattery <Slattery_T@xxxxxx>
wrote:

>AFAIK, you don't. The "dir" command can retrieve file attributes that
>are stored in the directory entry: hidden, system, archive, read-only.
>Getting the time from an mp3 file involves reading the file and
>parsing the contents. That's beyond dir's capabilities.
You can approximate it by calculating against the file size parameter.
Run a few MP3's, average the time they take vs size, set up a
calculation in the spreadsheet.
 

My Computer

M

Mike Brannigan

#2
"+Bob+" <nomailplease@xxxxxx> wrote in message
news:pbmj05t8f0ahjch2da7s1r20dlnvrpabn1@xxxxxx

> On Tue, 12 May 2009 12:19:23 -0400, Tim Slattery <Slattery_T@xxxxxx>
> wrote:
>

>>AFAIK, you don't. The "dir" command can retrieve file attributes that
>>are stored in the directory entry: hidden, system, archive, read-only.
>>Getting the time from an mp3 file involves reading the file and
>>parsing the contents. That's beyond dir's capabilities.
>
> You can approximate it by calculating against the file size parameter.
> Run a few MP3's, average the time they take vs size, set up a
> calculation in the spreadsheet.
>
And this will only be valid if all the MP3s were ripped at the same bitrate

--

Mike Brannigan
 

My Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)