Mac Reader For .lnk File

Posted on  by admin

Add file extensions search capability directly into your browser search panel for future use. Click here to add a new search provider to your browser. Browsers supporting File-Extensions.org's open search feature: modern browsers like Internet Explorer version 7 and above, Firefox or Google Chrome. The program can modify EVERY property of a shortcut file, including target file path, working directory and icon file (and icon index). But paid alternatives are welcome to discuss. Please note that there is nothing useful in this article: 6 Free Tools To Analyze Windows LNK Shortcut Files.

  1. Create Lnk File
downloadWhy can't I download this file?

Objective

This article outlines two options for publishing shortcuts in the XenApp environment.

Instructions

Though it is a best practice to publish applications by their executable, there are certain applications (such as legacy DOS and custom applications) where publishing through a shortcut (.lnk file) is required to maintain proper functionality.

Complete one of the following procedures to publish shortcuts in your XenApp environment:

Method-1

Create Lnk File

  1. Create the shortcut and modify its properties as necessary.

  2. Create a batch file with the line of code shown by copying the code into Notepad, modifying the path to the absolute path of your shortcut, and saving the file with a .bat extension.

    start c:appshortcut.lnk

  3. Publish this batch file normally as you would publish an executable.

Method-2

  1. Create the shortcut and modify its properties as necessary.

  2. Create a Visual Basic Script with the code shown by copying the code into Notepad, modifying the path line to the absolute path of your shortcut, and saving the file with a .vbs extension.

    Note the %comspec% variable with the /c switch. This effectively opens a command window, launches the application from its shortcut within the command window, and then closes the command window. As of 6/11/2008, this extra variable was observed to be necessary on servers running Windows Server 2003 or Windows 2000 Server with varying service pack levels, although it was not required when executing the script on Windows XP.

  3. Publish this script using the absolute path to wscript.exe and the absolute path to the VBScript passed as a parameter. For example:

    c:windowssystem32wscript.exe 'c:AppLaunch.vbs'