INI files on another computer

S

Shawn P. Stanley

Hi,

I have a customer running Windows 2000 on two computers.
For some reason unknown to me, an application is using its
INI file on the other computer.

On computer #1, the application's INI file with default
entries is located in the C:\Anywhere directory (for use in
initial setup), and the C: drive is shared on a Windows
workgroup.

On computer #2, the application's INI file is located in
the C:\WINNT directory, with non-default (different from
the other computer's) entries.

When the application starts on computer #2 and reads data
from its INI file, the data comes from the file in the
C:\Anywhere directory on computer #1 instead of the file in
the C:\WINNT file on computer #2!

If the file on computer #1 is deleted or renamed, then the
application uses the file from C:\WINNT on computer #2.

I don't understand how my application can use an INI file
on computer #1 (much less in an arbitrary directory like
C:\Anywhere) when it's running on computer #2.

Any ideas?
 
D

Dave Patrick

Uninstall/ reinstall the application on pc #2

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
Microsoft Certified Professional [Windows 2000]
http://www.microsoft.com/protect


:
| Hi,
|
| I have a customer running Windows 2000 on two computers.
| For some reason unknown to me, an application is using its
| INI file on the other computer.
|
| On computer #1, the application's INI file with default
| entries is located in the C:\Anywhere directory (for use in
| initial setup), and the C: drive is shared on a Windows
| workgroup.
|
| On computer #2, the application's INI file is located in
| the C:\WINNT directory, with non-default (different from
| the other computer's) entries.
|
| When the application starts on computer #2 and reads data
| from its INI file, the data comes from the file in the
| C:\Anywhere directory on computer #1 instead of the file in
| the C:\WINNT file on computer #2!
|
| If the file on computer #1 is deleted or renamed, then the
| application uses the file from C:\WINNT on computer #2.
|
| I don't understand how my application can use an INI file
| on computer #1 (much less in an arbitrary directory like
| C:\Anywhere) when it's running on computer #2.
|
| Any ideas?
 
S

Shawn P. Stanley

That has no effect.

The funny thing is, the application is just using the
standard Windows calls to read/write private profile data,
and the Windows documentation says the search order for the
INI file data is the Registry, then the file in the WINNT
directory. There's no mention of Windows going off to
another computer for the file.
 
D

Dave Patrick

What is the file name?

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
Microsoft Certified Professional [Windows 2000]
http://www.microsoft.com/protect


:
| That has no effect.
|
| The funny thing is, the application is just using the
| standard Windows calls to read/write private profile data,
| and the Windows documentation says the search order for the
| INI file data is the Registry, then the file in the WINNT
| directory. There's no mention of Windows going off to
| another computer for the file.
 
S

Shawn P. Stanley

I don't see why it matters, but the name is PINNACLE.INI.
The application name, which is an application I wrote, is
PINNACLE.EXE.

This only happens with one customer out of many, so it's
got to be something they're doing. However, they too have
no idea how a Windows application can use an INI file on a
different computer, much less instead of a local INI file.
 
D

Dave Patrick

You may have better luck asking in one of the development groups.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
Microsoft Certified Professional [Windows 2000]
http://www.microsoft.com/protect


:
| I don't see why it matters, but the name is PINNACLE.INI.
| The application name, which is an application I wrote, is
| PINNACLE.EXE.
|
| This only happens with one customer out of many, so it's
| got to be something they're doing. However, they too have
| no idea how a Windows application can use an INI file on a
| different computer, much less instead of a local INI file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top