huldu Posted December 30, 2005 Share Posted December 30, 2005 (edited) I was just wondering how do you start a program, with a script, that can be found in same folder as the script exectutable itself?I havent figured it out yet, im very sure its possible tho.Its something like this say i have my little script executable in d:\kewl stuff\ and in this folder i have a .ini aswell, lets call it kewl.ini. How would i edit info in kewl.ini without writting the entire path to kewl.ini (assuming its in same directory as the script exectutable)?Thanks for any help to solve this problem IniWrite("C:\Scripts\HealthCheck v0\saved.ini", "Test2", "Test2", GUICtrlRead($file))^^ as an example how it looks now.Ops, a bit sorry about the topic i meant IniWrite/IniRead, but i have same problem with Run() aswell. Hope its just an easy fix Edited December 30, 2005 by huldu "I'm paper, rock is fine, nerf scissors!!!" Link to comment Share on other sites More sharing options...
GaryFrost Posted December 30, 2005 Share Posted December 30, 2005 @ScriptDir & "\kewl.ini" SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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