BUTIL to determine file version 
Author Message
 BUTIL to determine file version
Quick question:  what BUTIL command do we use determine the file
version of our Btrieve files?

Tom Kustner
Emjay Corp. - A Wells Fargo Company

Any opinions are strictly my own and not necessarily those of Wells Fargo.



Sat, 22 Sep 2001 03:00:00 GMT
 BUTIL to determine file version

BUTIL -STAT <filename>


Sun, 23 Sep 2001 03:00:00 GMT
 BUTIL to determine file version
Several questions:

1.  We have hundreds, if not thousands, of BTV files.  How can I
automate this procedure?

2.  We only have access to the BUTIL.NLM.  How can I get a DOS or
Windows version of BUTIL to do the automation?  Our version of Btrieve
is fully licensed, but I don't know where to get a utility to do
something like that.

I also have BSQUEEZE, but that automatically converts the files.  We
think most of our files are currently in 5.x format.


Quote:
>BUTIL -STAT <filename>

Tom Kustner
Emjay Corp. - A Wells Fargo Company

Any opinions are strictly my own and not necessarily those of Wells Fargo.



Sun, 23 Sep 2001 03:00:00 GMT
 BUTIL to determine file version
Tom,

You can automate the NLM version by using a file of commands.  I don't have
the documentation in front of me right now, but it is something like:

The 'cmdfile' contains:
-STAT file
-STAT file

The DOS and Win32 versions of BUTIL ship with newer versions of Btrieve
v6.15 and Pervasive.SQL.  What version are you running?  If it is v6.15, you
probably need to download the latest patches to get the Win32 version.

Jon


Quote:
> Several questions:

> 1.  We have hundreds, if not thousands, of BTV files.  How can I
> automate this procedure?

> 2.  We only have access to the BUTIL.NLM.  How can I get a DOS or
> Windows version of BUTIL to do the automation?  Our version of Btrieve
> is fully licensed, but I don't know where to get a utility to do
> something like that.

> I also have BSQUEEZE, but that automatically converts the files.  We
> think most of our files are currently in 5.x format.


> >BUTIL -STAT <filename>

> Tom Kustner
> Emjay Corp. - A Wells Fargo Company

> Any opinions are strictly my own and not necessarily those of Wells Fargo.



Mon, 24 Sep 2001 03:00:00 GMT
 BUTIL to determine file version
Jon,

Thanks - I'll check it out.

On Thu, 8 Apr 1999 09:11:15 +0100, "Jon Grieve"

Quote:

>Tom,

>You can automate the NLM version by using a file of commands.  I don't have
>the documentation in front of me right now, but it is something like:

>The 'cmdfile' contains:
>-STAT file
>-STAT file

>The DOS and Win32 versions of BUTIL ship with newer versions of Btrieve
>v6.15 and Pervasive.SQL.  What version are you running?  If it is v6.15, you
>probably need to download the latest patches to get the Win32 version.

>Jon



>> Several questions:

>> 1.  We have hundreds, if not thousands, of BTV files.  How can I
>> automate this procedure?

>> 2.  We only have access to the BUTIL.NLM.  How can I get a DOS or
>> Windows version of BUTIL to do the automation?  Our version of Btrieve
>> is fully licensed, but I don't know where to get a utility to do
>> something like that.

>> I also have BSQUEEZE, but that automatically converts the files.  We
>> think most of our files are currently in 5.x format.


>> >BUTIL -STAT <filename>

>> Tom Kustner
>> Emjay Corp. - A Wells Fargo Company

>> Any opinions are strictly my own and not necessarily those of Wells Fargo.

Tom Kustner
Emjay Corp. - A Wells Fargo Company

Any opinions are strictly my own and not necessarily those of Wells Fargo.



Mon, 24 Sep 2001 03:00:00 GMT
 BUTIL to determine file version

Via a DOS batch file :

REM
FOR %%I in (*.BTV) DO BUTIL -STAT %%I
REM


Quote:

>Several questions:

>1.  We have hundreds, if not thousands, of BTV files.  How can I
>automate this procedure?

>2.  We only have access to the BUTIL.NLM.  How can I get a DOS or
>Windows version of BUTIL to do the automation?  Our version of Btrieve
>is fully licensed, but I don't know where to get a utility to do
>something like that.

>I also have BSQUEEZE, but that automatically converts the files.  We
>think most of our files are currently in 5.x format.


>>BUTIL -STAT <filename>

>Tom Kustner
>Emjay Corp. - A Wells Fargo Company

>Any opinions are strictly my own and not necessarily those of Wells Fargo.



Mon, 24 Sep 2001 03:00:00 GMT
 BUTIL to determine file version
Soryy Jon, this still seems to be a lot of work. I don't think anyone
would want to make a commandfile with several hundred entries. I think
I have a better solution for Tom, using DOS commandline scripting.:

FOR %F IN (filemask) DO BUTIL -STAT %F >> logfile

in which filemask would be *.* if you want to include all files. This
line will succesfully handle all your Btrieve files within one
directory and pipe the output to a single logfile. From there on
you're on your own. I suppose you would be able to write some kind of
small program to filter out the information you require. You could
even do a grep or find on the strings "File Statistics for" and "File
Version" and display the results next to each other...

One note of caution: If you want to use this line in a .BAT file
you'll have to replace %F with %%F

Gordon

On Thu, 8 Apr 1999 09:11:15 +0100, "Jon Grieve"

Quote:

>Tom,

>You can automate the NLM version by using a file of commands.  I don't have
>the documentation in front of me right now, but it is something like:

>The 'cmdfile' contains:
>-STAT file
>-STAT file

>The DOS and Win32 versions of BUTIL ship with newer versions of Btrieve
>v6.15 and Pervasive.SQL.  What version are you running?  If it is v6.15, you
>probably need to download the latest patches to get the Win32 version.

--

(Remove 'nospam' to reply)



Mon, 24 Sep 2001 03:00:00 GMT
 BUTIL to determine file version
That one is also going in the toolbox.  Thanks!


Quote:

>Via a DOS batch file :


>REM
>FOR %%I in (*.BTV) DO BUTIL -STAT %%I
>REM

Tom Kustner
Emjay Corp. - A Wells Fargo Company

Any opinions are strictly my own and not necessarily those of Wells Fargo.



Tue, 25 Sep 2001 03:00:00 GMT
 BUTIL to determine file version
Yes, but we have the C/S version for NetWare and those version below
only shipped with Btrieve for Windows or Btrieve for NT, according to
Pervasive's Web site. 8^(

Quote:

>The DOS and Win32 versions of BUTIL ship with newer versions of Btrieve
>v6.15 and Pervasive.SQL.  What version are you running?  If it is v6.15, you
>probably need to download the latest patches to get the Win32 version.

Tom Kustner
Emjay Corp. - A Wells Fargo Company

Any opinions are strictly my own and not necessarily those of Wells Fargo.



Fri, 28 Sep 2001 03:00:00 GMT
 
 [ 9 post ] 

 Relevant Pages 

1. Latest BUTIL version?

2. BUTIL description file format

3. butil -stat and corrupt files

4. BUTIL / File Manager for NT 4.0?

5. sp to determine file useage of ndf file / filegroup

6. Determining version of MS SQL Server client software

7. Determine OLAP Server (Analysis services) version

8. Determine OLAP Version Remotely

9. Determining installed version of SQL Server

10. Determine version of sql server

11. Determining SQL Version

12. Proc to help determine current version for upgrade to 7


 
Powered by phpBB® Forum Software