Jump to content
Sign in to follow this  
ZipperZ

Need Help with directories

Recommended Posts

ZipperZ

Sorry for my english..

I'm new in this scripting so i dont know many things...

Ok the main thing:

My script reads registry for program dir.

Then i want the script to read ini whitch is not exatly in that dir.

$dir = RegRead("Heres the key dir", "heres key") (it reads C:/program files/program, and ini is in: C:/program files/program/bin/set.ini , how to make it read that ini?

$ini = IniRead("(what to write here?)", "section", "Key", "NotFound")

MsgBox(4096, "Result", $ini)(this is for testing)

Share this post


Link to post
Share on other sites
Raindancer

$ini = IniRead($dir & "/bin/set.ini", "section", "Key", "NotFound")


Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

Share this post


Link to post
Share on other sites
ZipperZ

Thnx a lot :whistle:

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  

×