|
|
|
|
|
- Syntax
- The following syntax enables you to start WDOptimizer in command line
- Examples
- Example of reindex procedure
Starting WDOptimizer in a command line
Disponible solo con este tipo de conexión
The following syntax enables you to start WDOptimizer in command line WDOptimizer /Fic=<Directory> /Pwd=<Password> /Option=<Type of action performed> /Log=<Log file> /Mute=<Yes/No> /ExploreSubDir=<Yes/No> /CompressIndex=<Yes/No> /DelIndex=<Yes/No> /GetMemos=<Yes/No> /KeepCrossedRec=<Yes/No> /Charset=<Character set> /Density=<Density rate> /Language=<Display language> /Bck=<Yes/No> The table below presents the different elements that can be found on the command line: | | Parameter | Meaning |
---|
/Fic=<Directory> | To process a single data file: full path of the data file to be processed. To process a set of data files:- path of a directory,
- INI file in export format generated by WDOptimizer.
To process transactions: full path of the transaction file. Example c:ASLASH_Temp\file.fic | /Pwd=<Password> | Password associated with the data file to process (single data file) | /Option=<Type of action to perform> | Number corresponding to the option of WDOptimizer to start: 1: Index check. 2: Optimize index speed (Recalculate data file statistics). 3: Rebuild indexes. 4: Rebuild indexes and memos. 5: Revise and compress indexes and memos. | /Log=<Log file> | Full path of the log file (.log) to create. This file is created only if an option from 1 to 5 is selected. | /Mute=<Yes/No> | Yes to automatically validate the report window (No by default). | /ExploreSubDir=<Yes/No> | "Yes" to explore subdirectories of the directory specified in the "/Fic" parameter ("No" by default). | /CompressIndex=<Yes/No> | Yes to delete inactive records when reindexing (options 3 and 4) (No by default). | /DelIndex=<Yes/No> | Yes to delete the damaged records (options 3 and 4) (No by default). | /GetMemos=<Yes/No> | Yes to try to retrieve the data from the memo if it is damaged (option 5) (No by default). | /KeepCrossedRec=<Yes/No> | Yes to keep the crossed records (option 5) (No by default). | /Charset=<Charset> | Used to specify the character set used for the reindex operation. You have the ability to use one of the constants corresponding to the character set to use. | | charsetArabic | Arabic characters | charsetBaltic | Baltic characters | charsetChinese | Chinese characters (People's Republic of China) | charsetDefault | Uses the computer's default character set. No character set is forced. | charsetEastEurope | Eastern European characters (Polish, etc.) | charsetGreek | Greek characters | charsetHebrew | Hebrew characters | charsetJapanese | Japanese characters | charsetKorean | Korean characters | charsetOccidental | Roman characters in ANSI standard | charsetRussian | Russian characters | charsetThai | Thai characters | charsetTraditionalChinese | Traditional Chinese characters (Republic of Taiwan) | charsetTurkish | Turkish characters | charsetUTF8 | Used to manage the countries with two character sets (Hong Kong) and the countries with no character set defined in Windows (Georgian and Armenian). | charsetVietnamese | Vietnamese characters |
| /Density=<Density rate> | Density rate of indexes. This rate is set to 80 by default. The higher this rate is, the denser and smaller the index is. In this case, iterations, searches, filters and queries will be faster. The additions of records and the modifications of records may be slower. The lower this rate is, the less dense and the bigger the index will be. In this case, iterations, searches, filters and queries will be slower. The additions of records and the modifications of records will be faster. | /Language=<Display language> | "US" to start WDOptimizer in English (French by default). | /Bck=<No> | By default, the data files to be processed are saved (only taken into account if /option = 5). No if you don't want to perform this backup. |
The following command line reindexes the data files in the "C:\MyAppli\Data" directory. ExeRun("C:\MyDirectory\WDOptimizer.EXE /Fic=C:\MyApp\Data")
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|