Command-Line Options

dtSearch Programs

Program

Purpose

dtsearch.exe

dtSearch Desktop (Windows 98/95/ME)

dtsearchw.exe

dtSearch Desktop (Windows 2000/XP/NT/2003)

dtsrun.exe

Launcher to start dtSearch Desktop (will run either dtsearch.exe or dtsearchw.exe, depending on the operating system)

dtindexer.exe

dtSearch Indexer (Windows 98/95/ME)

dtindexerw.exe

dtSearch Indexer (Windows 2000/XP/NT/2003)

dtinfo.exe

dtSearch diagnostic tools

 

The only difference between the Windows 98/95/ME and the Windows 2000/XP/NT/2003 versions of dtSearch and dtIndexer is Unicode support in the user interface.  Both versions of dtSearch create and access indexes in exactly the same way, and both support Unicode in indexing and searching.  The Windows 2000/XP/NT/2003 versions just take advantage of the Unicode dialog box elements present in Windows 2000, XP, NT, and 2003 Server.

dtSearch Desktop Options

Switch

Purpose

/lib [index library]

Specify a shared index library to use

/dir [folder]

Specify a UserData folder to use for settings files

/cfg [options package]

Specify an options package file to use

/xl

Do not use index libraries other than the one specified on the command-line

The /xl command-line switch is used with the /lib or /cfg switch to prevent indexes other than the ones specified on the command-line from being visible in dtSearch. 

The /dir command-line switch has no effect if a dtSearch folder already exists on the computer.  It is used when running dtSearch from a network to specify a default local folder to use for dtSearch settings.  See "Installing dtSearch on a Network" for more information.

dtSearch Indexer Options

Switch

Purpose

/i [index path]

Specify the index to be updated

/a

Index new or modified documents

/c

Clear the index before adding documents

/cat

Enable caching of text in the index (when used with /c)

/cad

Enable caching of original documents in the index (when used with /c)

/r

Remove deleted documents from the index

/recog [index path]

Recognize an index (can be combined with /c to create an index and recognize it)

/o

Compress the index after adding documents

 

Filenames or directories that contain spaces should be quoted in command lines.  If the path to dtIndexer.exe contains a space, it should also be quoted, like this:

     "C:\Program Files\dtSearch\dtIndexer.exe" /i "C:\Program Files\dtSearch\UserData\MyIndex" /c /a