Op deze website gebruiken we cookies om content en advertenties te personaliseren, om functies voor social media te bieden en om ons websiteverkeer te analyseren. Ook delen we informatie over uw gebruik van onze site met onze partners voor social media, adverteren en analyse. Deze partners kunnen deze gegevens combineren met andere informatie die u aan ze heeft verstrekt of die ze hebben verzameld op basis van uw gebruik van hun services. Meer informatie.

Akkoord

Vraag & Antwoord

OS Windows

XP: Hoe zet ik de codetabel van msdos van 850 op 437?

None
4 antwoorden
  • Jawel, msdos het bestaat nog. Om in dos programma's bepaalde lijntjes goed weer te geven moet de codetabel op 437 gezet worden. (staat standaard op 850) Vroeger in autexec.bat was dat: mode con codepage=437.
    Later in ME: code tabel van MSDOS: 437.(in msconfig)
    Maar hoe moet dat nu in XP?
  • Kijk een of je hiermee verder komt:

    [b:6593ba32bb]Installing and Configuring MS-DOS Programs [/b:6593ba32bb]
    By definition, all programs originally written for MS-DOS are 16-bit programs. As such, they run in a virtual machine alongside their 16-bit counterparts developed for Windows 3.x.

    To control the behavior of MS-DOS-based programs, you use a properties dialog box whose design hasn’t changed much since Windows 95. Custom property settings for each program are stored in a shortcut file called a program information file (PIF).

    tip - Set global PIF options

    ——————————————————————————–
    Is the default MS-DOS environment not quite right? You can adjust the default settings that apply to all MS-DOS programs by editing the settings stored in %SystemRoot%_default.pif. When you double-click the icon for an MS-DOS-based program and Windows can’t find a matching PIF, it uses the settings recorded here. Likewise, when you create a new PIF, it starts with these default settings. If you want an MS-DOS batch file to run each time any MS-DOS program starts up, save the file as %SystemRoot%_default.bat.
    You can create multiple shortcuts (PIFs) for a single MS-DOS program, each with its own custom settings, such as a default data file or working directory. When you right-click the icon for an MS-DOS executable file and make any changes to its properties, Windows saves your changes in the same folder, creating or updating a file with the same name as the executable file and the extension .pif. You can change the name of the shortcut file or move it to another folder.

    The PIF format is binary and can’t be edited except through the properties dialog box. Right-click the icon for the MS-DOS program’s executable file to display this dialog box, which adds four tabs containing options that are exclusively available to MS-DOS programs. Using the Misc tab, shown in Figure 5-4, for instance, you can disable Windows shortcut keys that conflict with shortcuts in the MS-DOS program. Other options on other tabs allow you to adjust the amount of memory allocated to a program, specify the program’s initial display mode (full-screen or windowed), the icon associated with the program, and other options.

    Running some MS-DOS programs properly might require that you change the system configuration used by the MS-DOS virtual machine. Two files, Autoexec.nt and Config.nt, serve this function in Windows XP. These two files serve a purpose similar to that of Autoexec.bat and Config.sys in MS-DOS and Windows 95/98, with several important differences:

    Autoexec.nt and Config.nt are located by default in the %SystemRoot% System32 folder. (The corresponding files on an MS-DOS or Windows 95/98 machine are in the root folder of drive C.)
    In Windows XP (as in Windows 2000), you can create custom versions of Autoexec.nt and Config.nt for specific applications. To associate your custom configuration files with a specific application, copy the default files to a separate location and edit them as needed. Next, open the properties dialog box for the MS-DOS program, click the Advanced button on the Program tab, and then enter the correct locations as shown below. (Note that this dialog box includes a Compatible Timer Hardware Emulation check box. This option imposes a performance penalty, so you should select it only if your application won’t run with the box cleared.)

    Commands you enter in these two files affect only the MS-DOS subsystem. Many commands, such as Buffers and Break, are ignored, although they can be entered for compatibility purposes when an MS-DOS program insists that they be present. Windows XP includes its own versions of Himem.sys, Ansi.sys, Country.sys, and Setver.exe. Avoid using the following unsupported and unnecessary Windows 95/98 drivers in Config.nt: Emm386.exe, Smartdrv.sys, Ramdrive.sys, and Dblspace.sys/Drvspace.sys. Windows XP ignores all entries in Autoexec.nt except those defined by Set or Path commands, which it adds to the startup environment for that MS-DOS virtual machine.


    [ Dit bericht is bewerkt door: Binary op 2002-04-15 20:27 ]
  • Da's een heel verhaal en in een vreemde taal ook nog.
    Maar hoe zet ik nu de codetabel van MS-dos van 850 naar 437?
  • Hoe kan ik zo'n lang verhaal kort maken? Dat hangt er vanaf. Als je je DOS-programma met een snelkoppeling start, dan kun je in Eigenschappen van alles instellen. Dus ook je codepage. Ik neem aan dat je bekend bent met het juiste DOS-commando.

Beantwoord deze vraag

Dit is een gearchiveerde pagina. Antwoorden is niet meer mogelijk.