Creating a Windows Mobile database using dbinit
 Create a database using the dbinit utility

The dbinit utility 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.

  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 dbinit 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.