Does LinkFixer Advanced have a Command Line Interface?

Does LinkFixer Advanced have a Command Line Interface?

Does LinkFixer Advanced have a Command Line Interface?

Modified on: Thu, 19 Mar, 2026 at 2:05 PM

Overview

Yes, LinkFixer Advanced can be launched from the command line or from a batch file using the executable:

C:\Program Files (x86)\LinkTek\LinkFixer Advanced\LFAcmd.exe

Running the executable without parameters displays help text showing available commands and options.
Important: Do not run the Command Prompt as Administrator. Running as a local admin may prevent access to target file shares.


Basic Usage

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

  1. -t: Specifies the task to perform (required)
  2. -s: Specifies the settings file to use (optional; defaults to the active settings file)

Common Tasks (-t Parameter)

TaskDescription
ScanScans files into the database
InoculateInoculates files
CureRepairs broken links
MoveRenameMoves or renames files and links
ModifyLinksModifies links
RegularReportGenerates a regular report
CrossReferenceReportGenerates a cross-reference report
BrokenLinksReportGenerates a broken links report
ClearDatabaseClears the database
ClearLogClears the log file


Additional Parameters

-f: Folder path(s) to process
-ff: Text file containing folder paths (one per line)
-fil / -filw: File include list and worksheet name
-fel / -felw: File exclude list and worksheet name
-lil / -lilw: Link include list and worksheet name
-lel / -lelw: Link exclude list and worksheet name
-r: Rename rules file for Move/Rename or Modify Links
-nf: CSV file with network locations to import
-o: Temporary OneDrive location
-sp: Temporary SharePoint On-Premises location
-spo: Temporary SharePoint Online location
-u: Username for temporary network location
-p: Password for temporary network location

Note: Only accounts supporting basic username/password authentication can be used for SharePoint/OneDrive. MFA, SSO, or federated authentication are not supported via command line.


Examples

1. Scan using default settings:

lfacmd.exe -t=Scan

2. Scan using a custom settings file:

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

3. Inoculate a specific folder:

lfacmd.exe -t=Inoculate -f="C:\MyFiles"

4. Modify links in multiple folders with rename rules:

lfacmd.exe -t=ModifyLinks -f="C:\Folder1" -f="C:\Folder2" -r="C:\Rules\RenameRules.csv"

5. Cure links on SharePoint Online:

lfacmd.exe -t=Cure -spo="https://linktek.sharepoint.com/sites/testsite" -u=username@linktek.com -p=Password123 -f="Folder1" -f="Folder2" -s="C:\Settings\LinkFixer User Settings.xml"


Notes

  1. Only the -t (task) parameter is required.
  2. If -s is not specified, the default settings file (LinkFixer User Settings.xml) is used.
  3. Settings files are typically stored at:
  4. C:\Users\Public\Desktop\LinkFixer Advanced\Settings
  5. The command line interface runs without wizards, prompts, or progress bars, but displays completion percentages in text format (e.g., "Inoculate started. Completed: 75%").


This CLI allows automation and batch execution of all LinkFixer Advanced tasks while respecting existing settings and permissions.