Windows Vista Forums

Problem opening .ini files.
  1. #1


    lokee Guest

    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

  2. #2


    sloan Guest

    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

    > 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

  3. #3


    lokee Guest

    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:

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

  4. #4


    Family Tree Mike Guest

    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:

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

  5. #5


    sloan Guest

    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

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

  6. #6


    lokee Guest

    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:

    > 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

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

Problem opening .ini files. problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem opening .exe files hihi7209 Vista General 1 15 Mar 2010
Problem opening existing files by clicking smuthler Vista file management 4 13 Nov 2009
Problem opening zip files dickey38 Vista General 2 01 May 2008
office 2004 for Mac/ problem opening files loran thompson .NET General 1 01 Mar 2008
Problem opening .rtf files with ms works Steve N. Vista General 3 09 Sep 2007