Page 1 of 1

Command line does not follow shortcut (fully)

Posted: 09.07.2019, 12:52
by lujomu
This is more a minor inconsitency than a real bug, but I thought I'd report it.

Providing a file path as command line argument results in FC openening the containing folder and selecting the file (as expected).

Example:

Code: Select all

FreeCommander.exe /C /T /R="%ProgramFiles%\Internet Explorer\iexplore.exe"
  • Opens the folder "%ProgramFiles%\Internet Explorer".
  • Selects the file "iexplore.exe".
However, providing the path to a shortcut file (.lnk) that is linking to the same file as above, only opens the folder without selecting the target file.

Example:

Code: Select all

FreeCommander.exe /C /T /R="%AppData%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk"
  • Opens the folder "%ProgramFiles%\Internet Explorer".
  • Does not select "iexplore.exe".