Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rebuild a Pervasive file with a command line?

Status
Not open for further replies.

dgillz

Instructor
Mar 2, 2001
10,038
1
38
US
Is this doable? If so can someone show me the proper command line syntax?

For example I want to rebuild the file ARCUSFIL.btr in the database Data_02. How can I do this on a command line?

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
 
With one command line, no.
You can rebuild a file using BUTIL.
You would need to wrap it in a batch file. SOmething like:
BUTIL -CLONE newfile oldfile
BUTIL -COPY oldfile newfile
DEL oldfile
REN newfile oldfile

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top