473,480 Members | 1,498 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem opening .ini files.

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
Sep 18 '08 #1
5 3642

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

This is a group for DotNet programmers/developers.


"lokee" <lo***@discussions.microsoft.comwrote in message
news:CA**********************************@microsof t.com...
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

Sep 18 '08 #2
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.

"sloan" wrote:
>
You should try to locate a newsgroup with the name "windows" in it.

This is a group for DotNet programmers/developers.


"lokee" <lo***@discussions.microsoft.comwrote in message
news:CA**********************************@microsof t.com...
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


Sep 18 '08 #3
It sounds like the file association is messed up for ini files. Look at this
link and see if it truly is using Notepad to open them.
http://www.microsoft.com/windowsxp/u.../filetype.mspx

"lokee" wrote:
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.

"sloan" wrote:

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

This is a group for DotNet programmers/developers.


"lokee" <lo***@discussions.microsoft.comwrote in message
news:CA**********************************@microsof t.com...
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
Sep 18 '08 #4
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.


"lokee" <lo***@discussions.microsoft.comwrote in message
news:4F**********************************@microsof t.com...
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.

"sloan" wrote:
>>
You should try to locate a newsgroup with the name "windows" in it.

This is a group for DotNet programmers/developers.


"lokee" <lo***@discussions.microsoft.comwrote in message
news:CA**********************************@microso ft.com...
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



Sep 18 '08 #5
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.

"sloan" wrote:
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.


"lokee" <lo***@discussions.microsoft.comwrote in message
news:4F**********************************@microsof t.com...
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.

"sloan" wrote:
>
You should try to locate a newsgroup with the name "windows" in it.

This is a group for DotNet programmers/developers.


"lokee" <lo***@discussions.microsoft.comwrote in message
news:CA**********************************@microsof t.com...
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


Sep 18 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4378
by: Alfons | last post by:
Hello, I have build a program that can do file transferring between a Windows XP computer and a DOS computer via a serial port. The Windows program I have build in C++ with Visual Studio 6.0....
0
4091
by: AlessanBar | last post by:
Hello Friends !! I have a strange problem, and I need to know what would be the source of this. I have a laptop computer with the following configuration: Pentium III Brand : Toshiba Speed :...
5
4899
by: John Morgan | last post by:
I am using the following link to download a file of about 50k <a target= "_blank" href="http://www.bsecs.org.uk/ExecDocs/documentStore/elfridaWord.doc">open file</a> If I save the file to...
8
1699
by: beginner10 | last post by:
Hello! Can anyone help me? This code doesnt work. Where is the problem? Inside the files mata and matb there is (should be) 10*10 matrix. It should count a sum to new matrix. It does not work....
15
2404
by: Ken Allen | last post by:
I have been developing a suite of assemblies over the past couple of weeks, and this afternoon somethign started misbehaving. If I do not run the IDE and compiler the code from the command line,...
0
1454
by: nt91rx78 | last post by:
Our college changes 18 weeks semester to 16 semester, so our CS professor cannot finish teaching the last important chapter which is related with my problw\em. This is program C problem Anyone...
0
1807
by: P Pulkkinen | last post by:
Dear all, sorry, i know this code is far little too long to debug here, but there is really annoying logical error. If someone debugs this, I really offer warm virtual handshake. What this...
20
2102
by: ongaro.admin | last post by:
Hi, I'm experiencing a strange problem with .mdb files. We have two buildings connected by optical fiber (a single LAN). Everything works perfect with any file, any size, any application...
5
5126
by: Neil Crighton | last post by:
I'm using the zipfile library to read a zip file in Windows, and it seems to be adding too many newlines to extracted files. I've found that for extracted text-encoded files, removing all instances...
1
2422
navanova
by: navanova | last post by:
Greetings, I have a problem of opening ms word and excel files on my computer. The files are there for a long time. I use to open and modify them. Suddenly, when i try to open the word files, a...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7045
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
4782
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4483
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2985
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
182
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.