lnkforward(1)

lnkforward1

Open an url in a windows .lnk file under kde

Usage

lnkforward [generic-options] [--map drive=path ...] URL

Overview

lnkforward examines a Windows .lnk file, determines its target and then opens this target file. In deciding how to open the target file, the usual KDE file associations will be used.

The given URL must include a protocol. Specifically, if it is simply a file on the local filesystem, it must be given in the form file:/path/to/file.lnk.

Drive mappings must be supplied (via --map) for any Windows drive referred to in the .lnk file. See the OPTIONS section below for details.

This utility is used by the .lnk kfile plugin, and is part of the official KDE add-ons module.

Options

Below are the lnkforward-specific options. For a full summary of options, run lnkforward --help.

--map drive=path

Map the given Windows drive to the given path on the local filesystem (generally its mount point). This option may be passed multiple times.

Examples

Suppose that the Windows file c:\readme.txt.lnk is a link to d:\foo\bar.txt. Then the following command will open the file /mnt/data/foo/bar.txt in the usual KDE text editor:

prompt$ lnkforward --map c=/mnt/windows --map d=/mnt/data /mnt/windows/readme.lnk

Releases

Unchanged in 3 releases since Debian 3.1 (Sarge).

  1. 3.1–5.0

Author

This utility was written by Martin Koller <[email protected]>.
This manual page was prepared by Ben Burton <[email protected]> for the Debian GNU/Linux system (but may be used by others).

From kdeaddons-kfile-plugins 4:3.5.9-2 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.