import sys
import win32com.client
shell = win32com.client.Dispatch('WScript.Shell')
shortcut = shell.CreateShortCut('t:\\test.lnk')
shortcut.Targetpath = 't:\\ftemp'
shortcut.save()
Reading the target of a .lnk file in Python?