Problem opening .ini files.

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
 
S

sloan

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

This is a group for DotNet programmers/developers.
 
L

lokee

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.
 
S

sloan

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.
 
L

lokee

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.
 

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

Similar Threads

Cannot open .ini files! 2
.NET calls .dll which can't find .ini ? 2
Exporting to seperate .ini files 2
Boot Ini Problem 8
DAT Files 3
INI File 5
Search refuses to search in a textfile (.src) 4
desktop ini files 2

Top