dos-program in windows me: problem


Recommended Posts

http://www.zdnet.com/products/stories/revi...2698997,00.html

We live in an increasingly multilingual world, and the PC keyboard has done a good job keeping up. From Albanian to Ukrainian, and five U.S. (English) layouts, including three versions of the Dvorak keyboard. These keyboards do more than add the odd umlaut to the mix. The French keyboard, for example, is also referred to as the AZERTY keyboard. A-Z-E-R-T-Y are the six characters you get typing QWERTY on a French keyboard.

To select the AZERTY keyboard, open the Control Panel in the Start menu. Double-click on Keyboard, then select the Language tab and click on Properties. Under Keyboard layout, select French and click OK. In the Keyboard Properties dialogue box click OK again. However, if you are using Windows 95, 98, or Me, these settings will not be carried over into DOS mode. The AZERTY "code page" disappears when you open a DOS box.

In Windows versions prior to Window Me, the DOS utility KEYB.COM maps a language's "code page" and country code to the keyboard. The CONFIG.SYS and AUTOEXEC.BAT files can be configured to boot these settings automatically. In the CONFIG.SYS file, to load the French keyboard enter these two lines:

DEVICE=C:WINDOWSCOMMANDDISPLAY.SYS con=(ega,,1)

Country=033,850,C:WINDOWSCOMMANDCOUNTRY.SYS

And in the AUTOEXEC.BAT file, add these three lines:

MODE con codepage prepare=((850)

C:WINDOWSCOMMANDEGA.CPI)

MODE con codepage select=850

KEYB fr,,C:WINDOWSCOMMANDKEYBOARD.SYS

As you may have already concluded, the country code for France (fr) is "033." The number 850 represents the Multilingual (Latin 1) code page used by most Western European languages. In most cases, as long as the keyboard layouts you are using do not require different code pages, all you need is the first part of the last line: KEYB FR, which can be executed at a command prompt in a DOS box.

Microsoft has preserved compatibility with legacy DOS programs throughout the Windows line (Windows 95, Windows 98, Windows Me). In order to speed up the boot process and improve stability in Windows Me, Microsoft eliminated this "Real Mode" support for terminate-and-stay-resident programs such as KEYB.COM. This means that the CONFIG.SYS and AUTOEXEC.BAT settings described above won't work, and neither will the KEYB command.

These and other environment settings were moved to keys in the Windows Registry. The key

HKEY_LOCAL_MACHINESystemCurrentControlSet ControlNlsCodepage

stores the National Language Support (NLS) functions. The values in this key are set using the International tab in the System Configuration Utility. To bring up the System Configuration Utility click on Start ? Programs ? Accessories ? System Information. Under Tools, select System Configuration Utility. Or click on Run in the Start menu, type in MSCONFIG and click OK. When the utility comes up, click on the International tab. Under Language select the target language. The proper code page and country code will be inserted into the Registry key.

This is the way it is supposed to work. A bug in MSCONFIG.EXE version 4.90.0.3000 (that ships with Windows Me version 4.90.0.3000) causes the path to the KEYBOARD.SYS driver to get corrupted. This bug was patched in version 4.90.0.3001, which can be requested from Microsoft. If you don't have version 3001, the workaround is simple. In the entry next to Keyboard Data File Name delete everything but "KEYBOARD.SYS" (in other words, delete the path). Then click OK and reboot the system.

The language settings applied in the System Configuration Utility affect DOS, not Windows. The Windows settings are set in the Control Panel as described above.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Qmmp 2.3.3 by Razvan Serea Qmmp (Qt-based MultiMedia Player) is a free, open-source audio player that delivers a classic music listening experience with a modern foundation. Inspired by the legendary Winamp, Qmmp features a familiar, customizable interface that supports both Winamp and XMMS skins, making it instantly recognizable to long-time users. It handles a wide variety of audio formats including MP3, OGG Vorbis, FLAC, WAV, AAC, and many others, ensuring smooth playback across diverse music libraries. In addition to basic playback, Qmmp offers advanced features such as a 10-band equalizer, crossfading, gapless playback, and audio visualization plugins. Users can manage playlists efficiently, create and save multiple lists, and even enable streaming from online sources. Plugin support extends the player’s capabilities, allowing integration of features like lyrics display, ReplayGain, and more. Built with the Qt framework, Qmmp runs smoothly and efficiently, making it ideal even for older systems. 10 great QMMP features you might not know: Global Hotkeys Support – Control playback using customizable system-wide keyboard shortcuts. CUE Sheet Support – Automatically detects and plays tracks from CUE files for full album playback. Last.fm Scrobbling – Integrated support for sending playback data to Last.fm. Audio CD Playback – Play music directly from audio CDs. Command Line Interface – Control Qmmp via command-line options for scripting or automation. System Tray Integration – Minimize to and control playback from the system tray. MPRIS Support – Integration with desktop media player controls via the MPRIS (Media Player Remote Interfacing Specification) interface. Spectrum Analyzer and Oscilloscope – Built-in visualizations for real-time audio feedback. Configurable Notifications – Custom pop-ups for track changes and playback status. Multiple Output Backends – Support for ALSA, PulseAudio, JACK, and more, offering flexible audio routing. Qmmp 2.3.3 changelog: fixed build with PipeWire versions less than 0.3.50; fixed settings dialog layout; fixed default CUE encoding; fixed possible null pointer dereference; fixed tracks order when added using drag and drop (2.3.3 only); fixed uninitialized structure usage; improved sid plugin: added libsidplayfp 3.0 support; added feature to build without residfp engine; fixed memory leak; fixed displaying audio information; updated Japanese translation (2.3.3 only). Download: Qmmp 64-bit | 24.0 MB (Open Source) Download: Qmmp 32-bit | 24.1 MB View: Qmmp Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • BATorrent 3.0.3 is out.
    • The current Statcoungter desktop numbers has Google Chrome increasing it's market share this past year and currently commanding 75% share. Everybody else is just making up the numbers with even MS Edge losing 3% this past year and has dipped just below 10% share which is staggering considering it's default on every Windows deviced purchased. If these numbers are correct that terrible Edge number is both devastating and embarrassing for MS especially when you add in the terribly low Bing market share. This leads me to ask a couple of questions as the default browser holding just less than 10% market share seems really weird. It used to be that all Chromium browsers were being counted as Google Chrome in some cases.  Is this still happening? Do these high Google Chrome numbers contains some Edge user numbers?
    • Yeah, all web browsers seem to have some junk in them these days. The regular Brave browser has a lot of unnecessary stuff in it, similar to Microsoft Edge, so I don't see any benefits of using Brave over Microsoft Edge if you already have Microsoft Edge fully set up with adblockers and that. The cleanest or best free browser outside of 'Microsoft Edge' I’ve tried so far is 'Opera Air'. It still has some bloat, but nowhere near as much as Brave browser, for example. I also really like the web browser called 'Floorp' that is based on Firefox. I have a system wide Adblocking program for Windows 11 that doesn't just blocks ads in the the web browser, but over the whole thing. I don't really need a web browser with an inbuilt adblocker because of that.
  • Recent Achievements

    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      491
    2. 2
      PsYcHoKiLLa
      270
    3. 3
      Skyfrog
      75
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      63
  • Tell a friend

    Love Neowin? Tell a friend!