Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Problem opening .ini files.

Reply
 
Old 09-18-2008   #1 (permalink)
lokee


 
 

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

My System SpecsSystem Spec
Old 09-18-2008   #2 (permalink)
sloan


 
 

Re: Problem opening .ini files.


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

This is a group for DotNet programmers/developers.




"lokee" <lokee@xxxxxx> wrote in message
news:CAC09F8C-3088-4A2D-B7F7-7022AE32F3A6@xxxxxx
Quote:

> 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

My System SpecsSystem Spec
Old 09-18-2008   #3 (permalink)
lokee


 
 

Re: Problem opening .ini files.

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:
Quote:

>
> You should try to locate a newsgroup with the name "windows" in it.
>
> This is a group for DotNet programmers/developers.
>
>
>
>
> "lokee" <lokee@xxxxxx> wrote in message
> news:CAC09F8C-3088-4A2D-B7F7-7022AE32F3A6@xxxxxx
Quote:

> > 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
>
>
>
My System SpecsSystem Spec
Old 09-18-2008   #4 (permalink)
Family Tree Mike


 
 

Re: Problem opening .ini files.

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:
Quote:

> 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:
>
Quote:

> >
> > You should try to locate a newsgroup with the name "windows" in it.
> >
> > This is a group for DotNet programmers/developers.
> >
> >
> >
> >
> > "lokee" <lokee@xxxxxx> wrote in message
> > news:CAC09F8C-3088-4A2D-B7F7-7022AE32F3A6@xxxxxx
Quote:

> > > 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
> >
> >
> >
My System SpecsSystem Spec
Old 09-18-2008   #5 (permalink)
sloan


 
 

Re: Problem opening .ini files.

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" <lokee@xxxxxx> wrote in message
news:4FE17E76-9E42-4874-95B0-FA4934366D7F@xxxxxx
Quote:

> 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:
>
Quote:

>>
>> You should try to locate a newsgroup with the name "windows" in it.
>>
>> This is a group for DotNet programmers/developers.
>>
>>
>>
>>
>> "lokee" <lokee@xxxxxx> wrote in message
>> news:CAC09F8C-3088-4A2D-B7F7-7022AE32F3A6@xxxxxx
Quote:

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

My System SpecsSystem Spec
Old 09-18-2008   #6 (permalink)
lokee


 
 

Re: Problem opening .ini files.

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:
Quote:

> 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" <lokee@xxxxxx> wrote in message
> news:4FE17E76-9E42-4874-95B0-FA4934366D7F@xxxxxx
Quote:

> > 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:
> >
Quote:

> >>
> >> You should try to locate a newsgroup with the name "windows" in it.
> >>
> >> This is a group for DotNet programmers/developers.
> >>
> >>
> >>
> >>
> >> "lokee" <lokee@xxxxxx> wrote in message
> >> news:CAC09F8C-3088-4A2D-B7F7-7022AE32F3A6@xxxxxx
> >> > 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
> >>
> >>
> >>
>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Problem opening zip files Vista General
office 2004 for Mac/ problem opening files .NET General
opening files Vista music pictures video
Problem opening .rtf files with ms works Vista General
Navigation When Saving Files, and Opening mht files from Browser Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46