Author: Wylie Garvin
Date: 19:35:43 01/31/02
Go up one level in this thread
On January 28, 2002 at 08:29:28, Brian Katz wrote:
>On January 28, 2002 at 08:28:12, Brian Katz wrote:
>
>>I renamed the Chessbase folder and then moved it from Program Files to My
>>Documents just to temporarily get it out of the present Chessbase folder at the
>>time. All to be put back later.
>>I clicked onto the Fritz 7 icon and Fritz 7 program opened up anyway. That is
>>wierd. If you do that with Fritz 6, it won't find the chessbase folder.
>>If you just rename an engine folder, it should not find the engines until you
>>rename it back to Engines. You can keep many engine folders in the Chessbase
>>folder as long as the ones you are not using at the time have been RENAMED to
>>any thing you so desire. It seems that with Fritz 7, if all of your Engines
>>folders (whether that be 1 or 20) have been renamed it will find the Engine it
>>needs. It also found the Fritz 7 folder.
>>Is this normal?
>>Programmers, any opinions?
>>That is wierd!
>>Brian
>I never changed the path so how could Fritz 7 find it anyway?
I don't have Fritz so I'm just guessing here. But some observations:
(1) if you run an application, it can find out from the OS the exact file
name of the .EXE file it was started from. It can then strip off the filename
and it knows the directory it was started from. So Fritz could find its files
relative to itself, in this fashion.
(2) If you move the target of a shortcut under modern Windows systems
(98/2000/etc at least), and then launch the shortcut, the system will do a quick
search for files that look about the same size, etc. If it finds one that
*exactly* matches the info it has about the file, then it will simply update the
shortcut and start the program. I can't remember for sure, but it *may* do this
without even asking you (while it is searching the dialog might be up, but I
think it disappears instantly if found).
So my speculation is that, when you clicked on the Fritz icon, Windows quickly
searched for the .EXE file, found one that was a perfect match, updated your
shortcut and launched it. Then the program itself used its own pathname to find
out where its files were. And they all lived happily ever after. :)
wylie
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.