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>]
- -t: Specifies the task to perform (required)
- -s: Specifies the settings file to use (optional; defaults to the active settings file)
Common Tasks (-t Parameter)
| Task | Description |
|---|
| Scan | Scans files into the database |
| Inoculate | Inoculates files |
| Cure | Repairs broken links |
| MoveRename | Moves or renames files and links |
| ModifyLinks | Modifies links |
| RegularReport | Generates a regular report |
| CrossReferenceReport | Generates a cross-reference report |
| BrokenLinksReport | Generates a broken links report |
| ClearDatabase | Clears the database |
| ClearLog | Clears 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:
Notes
- Only the -t (task) parameter is required.
- If -s is not specified, the default settings file (LinkFixer User Settings.xml) is used.
- Settings files are typically stored at:
- C:\Users\Public\Desktop\LinkFixer Advanced\Settings
- 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.