Sign in to follow this  
Followers 0
Queener

string to a normal syntax

3 posts in this topic

#1 ·  Posted (edited)

So in the ini file, I have

[test]
    location=@Desktopdir & "\test.lnk"

So would it be possible to turn the location string from an ini file to a normal syntax to be used with shellexecute? The reason I don't include that portion into the coding itself is because most shortcuts will not be in desktop.

Edited by Queener

Msgbox(0, "Hate", "Just hate it when I post a question and find my own answer after a couple tries. But if I don't post the question, I can't seem to resolve it at all.")

Share this post


Link to post
Share on other sites

Look in helpfile for IniRead.

Share this post


Link to post
Share on other sites

And after that you can use Execute() for interpreting the raw string as an AutoIt statement.

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