Jump to content

FileGetShortcut Can't read this LNK content


YGYL
 Share

Recommended Posts

t.zip >LineRider2.lnk

this Shortcut Modify at win03 or win08r2,use windows can see "Path",but in au3 only "Working directory" can read out~

Local $aDetails = FileGetShortcut("LineRider2.lnk")
If Not @error Then
MsgBox(0, "FileGetShortcut", "Path: " & $aDetails[0] & @CRLF & _
   "Working directory: " & $aDetails[1] & @CRLF & _
   "Arguments: " & $aDetails[2] & @CRLF & _
   "Description: " & $aDetails[3] & @CRLF & _
   "Icon filename: " & $aDetails[4] & @CRLF & _
   "Icon index: " & $aDetails[5] & @CRLF & _
   "Shortcut state: " & $aDetails[6] & @CRLF)
EndIf

t.zip

Edited by YGYL
Link to comment
Share on other sites

[0]|Server02线条滑雪2LineRider2.exe

[1]|SERVER02线条滑雪2

[2]|

[3]|

[4]|

[5]|0

[6]|1

This is what Ascend4nt's excellent returns.

Upsa, just saw that it's the same as the default FileGetShortcut returns :)...

Edited by KaFu
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...