Creating a Windows Mobile database using dbinit

The Initialization utility (dbinit) can be used to create databases that can be used on Windows Mobile. However, you cannot copy them directly to a Windows Mobile device from this utility. You must manually copy databases created with the dbinit utility to your Windows Mobile device.

To create a database using the dbinit utility

  1. At a command prompt , navigate to the directory where you want to create your database. For example:

    cd temp
  2. Create your database by running the following command:

    dbinit -s database-name.db

    The -s option enables checksums for the database.

    Tip

    You can also configure database properties such as encryption and page size using the Initialization utility. See Initialization utility (dbinit).

  3. Copy the database to your Windows Mobile device.

    For more about copying the database to your Windows Mobile device, see Copying a database to your Windows Mobile device.