Sign in to follow this  
Followers 0

A small question about Run()

2 posts in this topic

#1 ·  Posted (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 :P

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 :lmao:

Edited by huldu

"I'm paper, rock is fine, nerf scissors!!!"

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