Yes, LinkFixer Advanced can be launched from the command line, or from a batch file, by executing the file: “C:\Program Files (x86)\LinkTek\LinkFixer Advanced\LFAcmd.exe”.

Executing this file without any command parameters displays the following help text:


Usage


LFAcmd.exe -t=<task> [-s=<settings file path>]


Parameters


t = Specifies the task to perform. Choose from one of the following:
Scan = Scans files into the database.
Inoculate = Inoculates files.
Cure = Cures broken links.
MoveRename = Moves/renames files and links.
ModifyLinks = Modifies links.
RegularReport = Creates a regular report.
CrossReferenceReport = Creates a cross reference report.
BrokenLinksReport = Creates a broken links report.
ClearDatabase = Clears the database.
ClearLog = Clears the log file.


s = Specifies the settings file to use. If this parameter is not provided, the active settings file is used.


Examples


lfacmd.exe -t=Scan
lfacmd.exe -t=Scan -s=MyCustomSettings.xml
lfacmd.exe -t=Inoculate


Command Line Parameters


Only two parameters are required to run LinkFixer Advanced from the command line. The parameter “-t” specifies the task to be performed, such as Scan, Move/Rename, etc. The parameter “-s” specifies the name of the startup file containing the settings to be used.


By default, settings files are saved in the “Settings” sub-directory of the “LinkFixer Advanced” folder on the common desktop. For operating systems other than Windows XP, this default path is “C:\Users\Public\Desktop\LinkFixer Advanced\Settings”. LinkFixer Advanced assumes that settings files will be found at that location. When specifying the “-s” parameter in the command line, you only need to specify the full path to a settings file in the case where you have saved the settings file to a different location.


If no “-s” settings file parameter is specified, LinkFixer Advanced uses the settings contained in the default settings file (LinkFixer User Settings.xml).


The “-t” task parameter is required and must be used as shown above.


By default, settings files are saved in the “Settings” sub-directory of the “LinkFixer Advanced” folder on the common desktop. For operating systems other than Windows XP, this default path is “C:\Users\Public\Desktop\LinkFixer Advanced\Settings”. LinkFixer Advanced assumes that settings files will be found at that location. If you have saved your settings files to a different location, you will need to specify the full path to the settings file when specifying the “-s” parameter in the command line.


Note


When LinkFixer Advanced is invoked from the command line, it will not display any wizards screens, prompts or progress bars. However, it will display a text message showing the percentage of completion of the LinkFixer Advanced process that is being run, such as: “Inoculate started. Completed: 75%”.