Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how many files can be opened in windows OS at a Time ?

how many files can be opened in windows OS at a Time ?

Scheduled Pinned Locked Moved C / C++ / MFC
question
7 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    paul crescent
    wrote on last edited by
    #1

    Dear friends please tell the answer how many files can be opened in windows OS at a Time ? by paul

    T C R B 4 Replies Last reply
    0
    • P paul crescent

      Dear friends please tell the answer how many files can be opened in windows OS at a Time ? by paul

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      there is no such a limitation AFAIK. IIRC, there is one at Process Level, but I don't know its limit. I believe you can find it as a #define in some header file (not sure however)

      [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

      P 1 Reply Last reply
      0
      • T toxcct

        there is no such a limitation AFAIK. IIRC, there is one at Process Level, but I don't know its limit. I believe you can find it as a #define in some header file (not sure however)

        [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

        P Offline
        P Offline
        paul crescent
        wrote on last edited by
        #3

        I am asked by Micorsoft Technical Interview :((

        I 1 Reply Last reply
        0
        • P paul crescent

          Dear friends please tell the answer how many files can be opened in windows OS at a Time ? by paul

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          Does this [^] help? :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          1 Reply Last reply
          0
          • P paul crescent

            I am asked by Micorsoft Technical Interview :((

            I Offline
            I Offline
            Iain Clarke Warrior Programmer
            wrote on last edited by
            #5

            Well, then they're interviewing you, not us.. Or you could argue that this is testing your ability to research things. My answer would be: "If you need to know, your design is wrong". Iain.

            1 Reply Last reply
            0
            • P paul crescent

              Dear friends please tell the answer how many files can be opened in windows OS at a Time ? by paul

              R Offline
              R Offline
              Roger Stoltz
              wrote on last edited by
              #6

              paul crescent wrote:

              how many files can be opened in windows OS at a Time ?

              The limit referred to probably is the lowio level of the C Runtime Library which is 2,048 simultaneously opened. Read more here[^]. There are other limitations such as on stdio level, which is 512 by default but can be increased with a call to [_setmaxstdio()](http://msdn.microsoft.com/en-us/library/6e3b887c.aspx)[[^](http://msdn.microsoft.com/en-us/library/6e3b887c.aspx "New Window")] to a maximum of 2,048.

              "It's supposed to be hard, otherwise anybody could do it!" - selfquote
              "High speed never compensates for wrong direction!" - unknown

              1 Reply Last reply
              0
              • P paul crescent

                Dear friends please tell the answer how many files can be opened in windows OS at a Time ? by paul

                B Offline
                B Offline
                Bram van Kampen
                wrote on last edited by
                #7

                Well, There are no more hard and fast limits, unlike DOS, where you had to specify how many. The answer is, that it depends on resources, and what's consumed with each file. It also depends on resources required by the OS. One answer would be, a Multitude more under XP than under Vista, on the same hardware. The other answer is Depends on the response time reqired. If you measure response time of the computer in weeks, the number would be determined by your disk size :)

                Bram van Kampen

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups