TITLE=Command line arguments CONTENT=

Command line arguments:

Usage: "Locate32.exe [ARGUMENTS] filename". For example, "locate32 -PC: -r -t exe notepad" finds notepad.exe on C: drive.

The arguments are following:
--terminate parameter list (next argument is considered as search string)
-P pathput 'path' to 'Look in' field. You can also use '-P0' for 'Everywhere', '-P1' for 'Document Folders', '-P2' for 'Desktop', '-P3' for 'My Documents', and '-P4' for 'My Computer'.
-p pathSame as above, but also checks if path is valid.
-t typeput 'type' to 'Extensions' field
-nfno file name (clears "Named:" field)
-ntset 'Extensions' field to '(no extension)'
-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 'Files only' in Advanced tab
-ldselect 'Folders only' in Advanced tab
-lfdselect 'File and folders' 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.