New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

WindowsShortcutFactory

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

WindowsShortcutFactory

Simple library for creating and modifying Windows shortcut (.lnk) files. This has no dependencies and calls directly into the native IShellLink COM interfaces instead of using the Windows Script Host.

Source
nugetNuGet
Version
1.2.0
Version published
Maintainers
1
Created
Source

WindowsShortcutFactory

This is a simple .NET library for creating or modifying Windows shortcut files. It has no dependencies, and doesn't use .NET COM Interop or Windows Script Host, instead calling into the native IShellLink interface directly.

Creating a Shortcut

This example creates a shortcut to C:\my\program\target.exe:

using var shortcut = new WindowsShortcut
{
    Path = @"C:\my\program\target.exe",
    Description = "Just a simple shortcut to target.exe."
};

shortcut.Save(@"C:\temp\MyShortcut.lnk");

Keywords

windows

FAQs

Package last updated on 30 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts