TITLE=Command line arguments CONTENT=

Command line arguments:

Locate32.exe has the following command line arguments:
--terminate parameter list
-P pathput 'path' to 'Look in' field
-p pathput 'path' to 'Look in' field (checks also that path is correct)
-t typeput 'type' to 'Extensions' field
-rstart locating when Locate32 is opened
-AxActivate control, x is 'n' (Named), 't' (Extentions), 'l' (Look In), or 'r' (results list).
-VxSet view mode, x is 's' (small icons), 'm' (medium icons), 'l' (large icons), 'x' (extra large icons), 'l' (list), or 'd' (details).
-cput clipboard content to 'Named field'
-sleave locate32 background when Locate dialog is closed
-Sstart locate32 to background mode (does not open Locate dialog)
-istart new instance (experimental)
-aactivate existing instance (use e.g. "-a2" to activate the 2nd instance)
-lnset the number of maximum found files
-lfSelect 'File Names Only' in Advanced tab
-ldSelect 'Folder Names Only' in Advanced tab
-lfdSelect 'File and folder names' in Advanced tab
-lc textput 'text' to the 'file containing text' field
-lcnm uncheck 'Match case' field
-lwcheck 'Match whole name only' field
-lwnuncheck 'Match whole name only' field
-lrcheck 'Replace spaces with asterisk' field
-lWcheck 'Use whole path' field
-lrnuncheck 'Replace spaces with asterisk' field
-lm sizeset minimum file size
-lM sizeset maximum file size
-lDmDAYset minimum file modification date, DAY can be exact date in the form of YYMMDD, or number (0 is today, 1 is yesterday, etc)
-lDcDAYset minimum file creation date
-lDaDAYset minimum file last access date
-lDMDAYset maximum file modification date
-lDCDAYset maximum file creation date
-lDADAYset maximum file last access date
-lsXYsort located items where X is 'n' (sort by name), 'f' (directory), 's' (size), 't' (type) or 'd' (modified date) and Y is 'a' (ascending order) or 'd' (descending order)
-lP presetload preset
-d fileuses database in file 'file'
-D nameuses database named 'name'
-Lpathinclude path into the database
-L1include all local hard drives into the database
-ustart update process at start
-Uupdate database (do not open Locate dialog)
-RXset the priority class of process, X is 'h' (high), 'a' (above), 'n' (normal), 'b' (below), 'i' (idle) or 'r' (realtime)
-X:CUSTOMuse different settings branch (see locate.ini.example file)
-W:search:parametersparse Windows search protocol URL. Parameters "qyery=" and "crumb=location:" are only handled. You can also use '-WR:' (run search) and '-WQ:' (run if nonempty query string given).

The command line arguments for locate.exe and updtdb32.exe can be seen by using "locate -h" and "updtdb32 -h" commands.