Problem opening .ini files.

  • Thread starter Thread starter lokee
  • Start date Start date
L

lokee

Hello,

I use windows XP ver.2002, Service pack 2.
I am getting a very strange error.

I am unable to open any file with extension".ini"
If I create any text file, type some text and save it with extension ".ini"
and try to open it using notepad (or by double clicking), it gives following
messege:

"The file name, directory name, or volume label syntax is incorrect"

But same file opens properly if I try to open using "Wordpad".

What is wrong ? Is there any problem with Notepad setting ?

Please reply.

Thanks in advance.

Lokee
 
You should try to locate a newsgroup with the name "windows" in it.

This is a group for DotNet programmers/developers.
 
Sorry, i selected General Discussion.
But the problem I mentioned below arised in my VB.Net application.
I need to read some data from a .ini file. After struggling for a long time
i tried to open tht file manually and then I realized i can not open it.
 
Have you rebooted recently?

That's a weird issue.

Try
Reboot.

Under Windows Explorer.......
Tools / Folder Options / File Types
and remap "INI" to notepad.

I don't know, its really weird.

There used to be a "Take Ownership" command in NT...I don't know what it
might be (if it exists) in XP.
 
Hi sloan and Family Tree Mike,

I did exactly the same as mentioned in the link, but in File Types option,
when I select INI option, it correctly shows Opens with: Notepad. But still
file does not open with notepad.
 
Back
Top