kokutou
2023-11-20 10:56:13 +08:00
```
import sys, os
import win32com.client
shell = win32com.client.Dispatch("WScript.Shell")
shortcut_curr = shell.CreateShortCut(ShortCut_path.strip())
show_link = 0
if show_link == 1:
print("link :", shortcut_curr.TargetPath)
print("link.Arguments :", shortcut_curr.Arguments)
print("link.Description :", shortcut_curr.Description)
print("link.HotKey :", shortcut_curr.HotKey)
print("link.IconLocation :", shortcut_curr.IconLocation)
print("link.WindowStyle :", shortcut_curr.WindowStyle)
print("link.WorkingDirectory :", shortcut_curr.WorkingDirectory)