San José State University

SCHOOL OF LIBRARY & INFORMATION SCIENCE

Compressing/decompressing & E-mailing DB/TextWorks Databases to Others

When you create a database in DB/textWorks, DBT will automatically create, not one, but 11 different files to represent the database. Again the 11 files will have the same name but different extensions. The extensions are .acf, .btx, .dbo, .dbr, .dbs, .ini, .ixl, .log, .occ, .sdo, and .tba.

If you want to send your database to others, you would have to copy and send all 11 files, preferably in a folder. We will get to that later.

As you build your DB/TextWorks database, you will soon have many files making it difficult to find them. It is recommended that you create, by clicking File menu → New → Folder, a separate folder for each new database.

For example, the DBTextWorks folder's structure in the VirtualStore and the Test database had been redone. A new folder called Test had been created within the DBTextWorks folder prior to the creation of the Test database, and this Test folder was specified as the folder to store the new database. In short, a new folder had just been added to store the Test files.

The new folder, Test, is added and is being used to specify as the storage place when creating the new Test database.

After the new database, Test, is created, the 11 files will be found in the Test folder.

To send the database out to others, one should first compress the database folder, which contained the 11 database files, and then send out the zipped folder.
One quick note – the zipped folder has essentially become one file.

Using Test folder as an example, here are the steps to compress a folder (zip) and turn it into a compressed file. This is the same process for both Windows XP and Vista.

In the DBTextWorks folder, right-click the Test folder → click Send To → click Compressed (zipped) Folder. The compressed folder is now created and is represented by the Test.zip file.

If you use a Web-based e-mail service like Gmail or Hotmail, you can e-mail the Test.zip file as an attachment.

If you have setup an e-mail client application, such as Microsoft Outlook or Outlook Express, you can e-mail this Test.zip file to others while you are still at the DBTextwoks folder.

To do so, please follow these steps: Right-click on the file, Test.zip (as an example) → select Send To → select Mail Recipient.
The e-mail application will launch with the file already attached. You then type in the recipient's e-mail address and press the Send button to finish the send process.

On the other hand, as a recipient of a DB/TextWorks database file, it is best to save the received attachment in the following folder:
XP — C:\Programs Files\Inmagic\DBTextWorks
Vista — C:\Users\user name\AppData\Local\VirtualStore\Program Files\Inmagic\DBTextWorks
Again the "user name" here is an account name. You would enter your own unique user account name in place of the "user name." In this example, the user name is SJSU SLIS. So the address is
C:\Users\SJSU SLIS\AppData\Local\VirtualStore\Program Files\Inmagic\DBTextWorks

Using the Test.zip as an example of a saved attachment, this is what you would see.

To decompress (unzip) the Test.zip file, right-click the file and select Extract All…
This dialogue box which opened would allow you to select the destination folder.
The default path to the folder, which appeared with the dialogue box, is most likely the one that leads right into the same folder as the zipped file. This is basically a good start.

The minor issue is that, using this default path as the extracting destination, the resulting folder will have a subfolder of the same name, creating one extra layer of folder. This is not a good practice in the long run.

For example: Using the default destination path for decompression, the resulting DBTextWorks folder would have contained a Test subfolder within a Test folder —


Notice how the DBTextWorks folder contains \Test\Test. An extra layer.

Therefore, when setting the destination path during the extraction step, remove the last folder from the entry of the path if it is selected by default. This prevents the folder from being duplicated as a subfolder.

In this example, the last portion of the path, \Test, is deleted. It would look like this.

Therefore, as a rule, always use C:\Users\"user name"\AppData\Local\VirtualStore\Program Files\Inmagic\DBTextWorks as a default file location.

After the extraction process is completed, the Test folder appears as expected. And you may delete the Test.zip file if desired.

This Test folder will not have the extra Test subfolder.

This concludes the tutorial.

 Back