Jump to content

Trouble with opening a file


Recommended Posts

I'm trying to link a menu item to open the settings filr.

I have tried a number of ways to do it.

FileOpen("settings.ini")

FileOpen(@scriptdir & "\settings.ini")

run(@scriptdir & "\settings.ini")

Cant seem to get it to work. Am I missing something?

Thanks

Cue

Edited by cueclub
Link to comment
Share on other sites

If you associate the ini extension with notepad. In Windows. I don't remember exactly how to do that, in the Control Panel | Default Programs I think, then your last snippet (or the one in SeF's post) will act like the one in my earlier post.

Edit: Oh jeez, sorry cueclub, you probably know that already..

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...