No announcement yet.

No config.sys with Windows ME

  • Filter
  • Time
  • Show
Clear All
new posts

  • No config.sys with Windows ME

    Anyone know how to set FILES=50 or
    more easily using Windows ME?
    Windows ME doesn't use CONFIG.SYS
    without changing the registry.


  • #2
    I don't know anything about Windows NT or ME, but I know of some nice
    utilities that come with QEMM, called FILES.COM, BUFFERS.COM and DEVICE.COM
    Simply type "FILES 50" at the DOS prompt to change it.
    (just for information, you can even load DOS drivers at the DOS
    prompt with DEVICE.COM, like "DEVICE c:\win95\command\ansi.sys")

    Mail me if you need any of them (only 6k in total)

    Sebastian Groeneveld
    mailto:[email protected][email protected]</A>
    Sebastian Groeneveld
    mailto:[email protected]dracuu[email protected]</A>


    • #3
      Are you sure that you can legally give those files away? Surely they require QEMM to operate, and if they are copyright, you'll be breaking the law in distributing them.

      PowerBASIC do not condone software piracy!

      PowerBASIC Support
      mailto:[email protected][email protected]</A>
      mailto:[email protected]


      • #4
        Correct on both counts, Lance. (So I suppose, legality aside, it doesn't matter if he e-mails the files to Mike or not, since they won't work anyway, but...)

        Sebastian: When you install QEMM's memory manager system, it overrides DOS's handlers for those functions and takes control itself (with varying degrees of success, I might add). The programs you talk about don't actually change anything themselves; they just send signals to the QEMM memory manager, which attempts to comply with the request and then fool DOS into thinking that it was "always like this", and that nothing has actually changed. Those programs are not independant of QEMM, and will not work without the whole QEMM memory manager package being installed first. And yes, those files are commercial, copyrighted software; you cannot simply hand them around like baseball cards.

        And QEMM will not, as far as I know, with Windows-ME anyway, so the whole thing is academic.



        • #5
          Looking for some PB/DLL or PB/CC to update the registry key.
          Without it, programs needing a FILES statement may fail.



          • #6
            If Windows ME functions like Windows 2000 in this regard, you can still use CONFIG.SYS files, it's just that they're run for each DOS box rather than only at boot time. In Windows 2000, the default CONFIG.SYS can be set up through the _DEFAULT.PIF file in the C:\WINNT folder. You right-click on it, select Properties, Program tab, Advanced... button.

            The corresponding folder would probably be C:\WINDOWS for Windows ME. Be advised that Explorer seems to hide the .PIF extension, even if you've told Windows not to hide extensions. Microsoft, feh. You might also look in the PIF folder off the Windows folder, if any.

            Good luck, and let us know how it works out!

            Tom Hanlin
            PowerBASIC Staff


            • #7
              Unfortunately, it is a customers machine and
              I may have to go out and buy a copy of ME to
              get CONFIG.SYS to work. I'm sure others
              will run into this problem soon.



              • #8
                Hi Mike,
                My Windows ME has a hidden config.sys and autoexec.bat in the
                C:\ Root directory. There's nothing in the config.sys file. I tried
                putting in a FILES=50 and all I can tell you is that it didn't bomb.
                Is there a way to verify that it worked, short of opening 50 files
                from a dos program? If you'd like, we can do some real-time stuff
                if you've got AOL Messenger or something. I know what a pain it is
                to try and get info from customers like that. By the way, if you know
                the registry entry you need to mess with, Semen put out a quick
                and dirty registry routine for getting your program to Autoload on
                start up. Good Luck, and let me know if there's anything I can do.

                [email protected]


                • #9
                  We covered the Registry (and accessing it with PB/CC) in the Sep 99 issue of BASICally Speaking. I recommend you check out our (free) source code archives at for the sample source code. If you need more information, you can purchase a copy of the back issue for $4.00.


                  Alan C. Earnshaw
                  Information Management Systems, Inc.
                  Alan C. Earnshaw
                  Information Management Systems, Inc.


                  • #10
                    Registry.Bas is exactly what I was looking for!
                    At least I can ask the users if it is ok to
                    remove/rename a registry entry. Again, this
                    has got to be a big problem for many developers.



                    • #11
                      Those programs are not independant of QEMM, and will not work
                      without the whole QEMM memory manager package being installed first.
                      And yes, those files are commercial, copyrighted software; you cannot
                      simply hand them around like baseball cards.

                      First of all, the utilities I was referring to (, and
             can be used with or without QEMM... and as they do not require
                      QEMM to be installed I saw them as utilities that came with it, and I was
                      probably wrong, judging from your replies...
                      Btw, I never mentioned sharing the entire QEMM package.


                      Sebastian Groeneveld
                      mailto:[email protected][email protected]</A>
                      Sebastian Groeneveld
                      mailto:[email protected][email protected]</A>


                      • #12
                        My email address is mailto:[email protected][email protected]</A>
                        and could easily send you a very small test
                        program to see if changing the hidden
                        config.sys helps. I've already received an
                        email that the registry has to be modified.
                        The machine that was used did not show any
                        changes to CONFIG.SYS after rebooting the system.



                        • #13
                          Bad news.
                          MSCONFIG does not have a config.sys tab in Windows ME.
                          Anyone know how to insert a line in CONFIG.SYS that
                          will stay after reboot like FILES=50


                          [This message has been edited by Mike Doty (edited November 27, 2000).]


                          • #14
                            You have a few options for this.


                            ATTRIB "c:\config.sys", 0

                            NAME "c:\config.sys" AS "c:\config.bak"

                            open "c:\config.bak" for input as rFil%

                            open "c:\config.sys" for output as wFil%

                            do until eof(rFil%)
                            line input #rFil%, a$

                            if lcase$(left$(a$,5))="files" then
                            end if

                            print #wFil%, a$

                            if changed%=0 then print #wFil%, "files=50"

                            close #rFil%
                            close #wFil%

                            ATTRIB "c:\config.sys", 7


                            SHELL "ATTRIB c:\config.sys -r -h -s"
                            SHELL "echo files=50>>c:\config.sys"
                            SHELL "ATTRIB c:\config.sys +r +h +s"

                            I know it's a bit sloppy, but it works...



                            • #15
                              Have you tried this using Windows ME?
                              My programs already do this.



                              • #16
                                Click Start
                                Click Run
                                Type SYSTEM.INI and press [Enter]
                                PerVMFiles = 225 (add this line)

                                Note: 225 + (default of 30) = maximum of 255

                                I've also posted this in the source code forum.
                                This is essential for many DOS programs using ME.
                                Windows ME does not read CONFIG.SYS.


                                [This message has been edited by Mike Doty (edited November 28, 2000).]