Riojii Posted December 16, 2005 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?
nobby Posted December 16, 2005 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
Valuater Posted December 16, 2005 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)
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