Riojii Posted December 16, 2005 Share Posted December 16, 2005 Why won't this work? There's probably a simple explanation for it, and I'm just too tired to see it... $ini=IniReadSection("AILauncher.ini", "Settings") FileDelete("$ini[1][1]\SOG\*.ini") Run("$ini[1][1]\Launcher.exe") Is there another way to call a variable directory? Link to comment Share on other sites More sharing options...
nobby Posted December 16, 2005 Share Posted December 16, 2005 It looks like the problem is with the inverted commas: $ini=IniReadSection("AILauncher.ini", "Settings") FileDelete($ini[1][1] & "\SOG\*.ini") Run($ini[1][1] & "\Launcher.exe") I have not tried, but it could be the solution CheersNobby Link to comment Share on other sites More sharing options...
Valuater Posted December 16, 2005 Share Posted December 16, 2005 Is there another way to call a variable directory? yes... since you know where your variable folder name is ( $ini[1][1] ) then just read that section key $variable = IniReadSection("AILauncher.ini", "Settings", "Folder", "not found") Run($variable & "\Launcher.exe") not tested 8) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now