Sign in to follow this  
Followers 0
TuMiM

filegetshortcut variable search

2 posts in this topic

Is there a way to search through all shortcuts in a directory, inside the "shortcut target path" for a variable and then change the variable in that shorcut?

Share this post


Link to post
Share on other sites



So you cannot edit directly, but the process is pretty easy with a few functions:

1) See the help file example for FileFindNextFile. You want to search for "*.lnk" files.

2) See FileGetShortcut in help file. To get all the shortcut's info.

3) You must use FileCreateShortcut to overwrite the old shortcut with the updated info.


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0