Email this Page Log Support Call Send Feedback Print

Previous Topic

Next Topic

Book Contents

Book Index

Performing Administrative Tasks from the Command Line

You can perform the common maintenance tasks of exporting a SQL library to JET and/or compacting a JET library from the command line. This enables you to automate the process in a batch or as part of a scripted or scheduled process. You may choose to do this as part of your regular backup routine.

Note: To use the Author-it Administrator program from the command line, your User login must have the "Security Administration" permission.

Syntax

aitadmin[.exe] libraryname [ /user /pwd ] [ /export ] [/excludelarge] [/compact] [/exit]

The parts of the command line switch syntax are:

Argument

Description

aitadmin

The path to the Author-it Administration program.

libraryname

The type, name and path of your Author-it Library (.adl) file. Author-it will open this library when found.

For example:

/jet"C:\Program Files\AuthorIT V4\Data\Libraries\Sample.adl"

-OR-

/sql"AuthorIT2|server1"

user

User account to sign into the Author-it Library database.

pwd

Password used to sign into the Author-it Library database.

export

Where the libraryname has been specified with the /sql parameter, instructs Author-it Administration to Export the SQL Server Library Database to a Jet Library Database.

You must supply the name of the new Jet Library, you do not have to supply the path to this file. To ensure that your relative paths remain valid, the file will be created in the existing Library Path.

Please note that if the export file already exists, it will be deleted.

Example:

/export"Backup.adl"

excludelarge

Automatically excludes object history, Offline library and locking information when exporting library.

compact

Where the libraryname has been specified with the /jet parameter, instructs Author-it Administration to Compact the Jet Library database.

Where the libraryname has been specified with the /sql parameter and with the /export parameter, the Jet Library created by the Export process will be compacted.

/exit

Tells Author-it to close and exit after the process is complete.

Examples:

To compact a Jet Library database:

c:\Program Files\AuthorIT V4\AITAdmin.exe /jet"c:\Program 
Files\AuthorIT V4\Data\Libraries\Sample.adl" /user"(supervisor)"
/pwd"password" /compact

To Export a SQL Server Library database to Jet and compact the Jet database after exporting:

c:\Program Files\AuthorIT V4\AITAdmin.exe /sql"my database|my 
server" /user"(supervisor)" /pwd"password" /export"New Jet
Library.adl" /compact

See Also

Maintaining Libraries

Object Locking

Repairing and Compacting a JET Library

Removing Empty Objects

Reindexing Topic Text Relationships

Reindex Book Table of Contents

Reindex Search

Create Dictionary From Wordlist

Refreshing Library Properties

Top of Page Email this Page Log Support Call Send Feedback Print