Problem opening .ini files.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?bG9rZWU=?=

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

    #2
    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@discussi ons.microsoft.c omwrote in message
    news:CAC09F8C-3088-4A2D-B7F7-7022AE32F3A6@mi crosoft.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

    Comment

    • =?Utf-8?B?bG9rZWU=?=

      #3
      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@discussi ons.microsoft.c omwrote in message
      news:CAC09F8C-3088-4A2D-B7F7-7022AE32F3A6@mi crosoft.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
      >
      >
      >

      Comment

      • =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=

        #4
        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.


        "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@discussi ons.microsoft.c omwrote in message
        news:CAC09F8C-3088-4A2D-B7F7-7022AE32F3A6@mi crosoft.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

        Comment

        • sloan

          #5
          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@discussi ons.microsoft.c omwrote in message
          news:4FE17E76-9E42-4874-95B0-FA4934366D7F@mi crosoft.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" <lokee@discussi ons.microsoft.c omwrote in message
          >news:CAC09F8 C-3088-4A2D-B7F7-7022AE32F3A6@mi crosoft.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
          >>
          >>
          >>

          Comment

          • =?Utf-8?B?bG9rZWU=?=

            #6
            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@discussi ons.microsoft.c omwrote in message
            news:4FE17E76-9E42-4874-95B0-FA4934366D7F@mi crosoft.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" <lokee@discussi ons.microsoft.c omwrote in message
            news:CAC09F8C-3088-4A2D-B7F7-7022AE32F3A6@mi crosoft.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
            >
            >
            >
            >
            >
            >

            Comment

            Working...