Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Tables fold up

Tables fold up

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #15 on Wed 26 Jan 2005 05:03 AM (UTC)

Amended on Wed 26 Jan 2005 05:07 AM (UTC) by Flannel

Message
Whats wrong with getting the location as a "start in" directory? That way you could run the exact same executable with two completely different looks (for two worlds, presumably), if you created two ini files and changed your shortcut accordingly.
And if you have a bad ini file (or a non existant one at the path listed) check the other common places for a good one, and if still not, have it default to the default MC values.

If we just used the MC path (or world path, or whatever) we wouldn't be able to customize MC itself for different worlds in the global preferences sense. While there isnt a whole lot there, this would allow complete control (things like sandbox, or connecting preferences, or tabs, or whatever). As well as allowing multiple users to have their own setups completely independant of one another.

I have never had a problem with a shortcut telling a program to start in the wrong directory. If the shortcut is configured improperly, thats another story, but its not a bug. It'd be like trying to call a script function with the wrong set of arguments, the script will yell at you. In this case, we just use default values (maybe we also want to have a message popup saying 'No configuration files were found at any of the locations specified, if this is unintended, then you might try [this] or [that].'

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Shadowfyr   USA  (1,791 posts)  Bio
Date Reply #16 on Wed 26 Jan 2005 04:44 PM (UTC)
Message
Most programs are smart enough Flannel to not mess up. However, as one example, I have a 2.7MB file created by AVG sitting in me C:\ directory, where nothing but a few system files and directories should be. The only concievable reason for this is because it is using the 'where I ran from' method of finding the location, then creating what I assume is a temporary file in there. For some reason that is ending up as C:\, instead of C:\Windows\ or some other logical location. As for shortcuts.. I'll admit that shortcuts copied from other shortcuts don't cause the problem, but in cases where you create a new one, it does not automatically set the location for 'Start in' to the same as the executable, which imho never made much sense to me, except that you could make the 'Start in' point as say C:\Hidden Documents\ and have your text editor pop up that directories contents when opening a file, instead of defaulting to C:\My Documents\, etc. The problem is that some programs are prone to use that setting for their own temporary files and setup data as well, which makes a royal mess of things.

But as Ksilyan said, it may be as easy as reading the command line info to find the real location a program ran from. One hopes so anyway. lol
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


56,904 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.