Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Creating lnk files other than manual

Featured Replies

Hello,

how can I create lnk files via script or command?

Say I want to create a lnk file which points to C:\Prog\Prog.exe.

Normally I have to do it manually by right clicking on Prog.exe and

select Create Shortcut.

1.) Can this be done by a script or command?

2.) Is it possible to use system variables like %systemdrive& instead of fixed paths?

Hi Kukris,

there is a command called "shortcut.exe" which you can use for this purpose. I have attached the tool.

Bye, Egon

SHORTCUT.EXE

  • Author

Thanks, but I can't it get to work. I checked the help and tried this:

shortcut -s -t D:\Progs\Test\test.exe -n Test -d h:\prog-w2k\system -i D:\Progs\Test\test.exe -x 0 -l test.log

I put shortcut.exe in c:\temp and execute it from there via a cmd file and get the following error:

Error: unable to find D:\Progs\Test\test.lnk

Are there maybe some examples or further documentation?

Hi,

example on how to create a shortcut on the user's desktop:

shortcut -f -t C:\SysTools\ProcExp.exe -n "%USERPROFILE%\Desktop\Process Explorer"

This will create a shortcut to C:\SysTools\ProcExp and place the corresponding .lnk File on your Desktop.

Bye, Egon

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.