Skip to content

Create a lnk shortcut file for Windows but for pylnk3

Notifications You must be signed in to change notification settings

FunnyWhaleDev/mklnk3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

lnk.py


Repository used for creating lnk file for Windows. Can be used on Linux systems or Windows systems for the creation of the Windows lnk file.

Requires Python 2 (pylnk does not support python 3) Now works with pylnk3

Examples:

Shortcut direct to a target

python lnk.py output.lnk C:/Windows/System32/cmd.exe

Shortcut to a folder

python lnk.py folder.lnk C:/Users/Public/ -d

Shortcut direct to a target with arguments

python lnk.py output.lnk C:/Windows/System32/cmd.exe -a "/c powershell.exe -ep bypass"

Shortcut direct to a target specifying icon

python lnk.py output.lnk C:/Windows/System32/cmd.exe -i "c:/windows/system32/notepad.exe"

Shortcut direct to a target with a description

python lnk.py output.lnk C:/Windows/System32/cmd.exe --desc "This is a description"

Authors

Kerry Milan

Micheal Reski @zeekzack

Updated to pylnk3

FunnyWhale

About

Create a lnk shortcut file for Windows but for pylnk3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%