Jump to content
Sign in to follow this  
Queener

string to a normal syntax

Recommended Posts

Queener

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
AutoBert

Look in helpfile for IniRead.

Share this post


Link to post
Share on other sites
AspirinJunkie

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  

×