Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,178 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
is there a sysinternals command to created shortcut file? (*.lnk)
Delete this duplicate entry that must be at least 10
Use Powershell. Here is an example to create a Destkop file shorcut.
powershell.exe "$lnk= (New-Object -COM WScript.Shell).CreateShortcut ('%userprofile%\Desktop\shortcut.lnk'); $lnk.TargetPath='C:\TargetFilePath'; $lnk.Save()"