¿Cómo debo definir el ANSI.SYS para que funcione?

07/09/2003 - 18:26 por Carlos José GALLI RIOBÓO | Informe spam
He incluido en el CONFIG.NT del directorio \WINDOWS\SYSTEM32 la sentencia:
device=%SystemRoot%\system32\ansi.sys
Luego reinicié el ordenador pero no me coge los códigos de escape.
Tengo un XP Profesional SP1.
¿Alguien sabe dónde está el error?.
Gracias.

Carlos José GALLI RIOBÓO
Dirección de correo: carlosjosegalli@telefonica.net
MS Messenger: carlos_jose_galli@hotmail.com
Yahoo Messenger: carlos_jose_galli

Preguntas similare

Leer las respuestas

#21 Antonio Amengual MSMVP
08/09/2003 - 09:17 | Informe spam
en google tienes esto, deberia irte bien

ANSI.SYS runs in NT

-
-

This one was just too handy to forget, so I put it here so I could find it.

How to use ANSI.SYS under NT:

Create batch file c:\test\Try.bat with sample contents:
@echo off
echo <Esc>[10;35H<Esc>[36;44m Hello World <Esc>[m
pause >nul

Note:
<Esc> = Escape (press Ctrl+P then Esc while using Edit Try.bat).

Create file c:\test\Try.nt with sample contents:
rem See %systemroot%\system32\Config.nt
dos=high,umb
device=%systemroot%\system32\himem.sys
device=%systemroot%\system32\ansi.sys
files

With Explorer, create a new shortcut:
Command Line: %systemroot%\system32\command.com /c c:\test\try.bat
Name for shortcut: Try

With Explorer, select shortcut Try (created in previous step):
Right click, Properties, Program, Windows NT.
Set Config Filename = c:\test\Try.nt
Press OK a couple of times.

Double click the shortcut Try -- you will see Hello World displayed with
Cyan
foreground (36) and blue background (44), starting at row 10, column 35.

At Command Prompt:
start try.pif

You could run your DOS program from within the batch file, or modify the
shortcut to run the DOS program directly.

thanks to John Beckett 100237.1356@"removethis"compuserve.com




Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no
otorga ningún derecho.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.




XP Pro-2600-limpia+SP1

por favor
respuestas al grupo; asi nos beneficiamos todos
no se responde personalmente

saludos

Antonio
ms mvp windowsxp

"Carlos José GALLI RIOBÓO" wrote in message
news:
Antonio, al menos en mi equipo no figura el ANSI.COM. Voy a probar la
sugerencia de José Manuel.

"Antonio Amengual MSMVP" <amengualserraatono.com> escribió en el mensaje
news:
> creo que ansi.sys ya no está soportado, en su lugar debe ejecutarse
> Ansi.com, buscalo por google
>
>
>
> Este mensaje se proporciona "como está" sin garantías de ninguna clase,


y
no
> otorga ningún derecho.
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use.
>
>
>
>
> XP Pro-2600-limpia+SP1
>
> por favor
> respuestas al grupo; asi nos beneficiamos todos
> no se responde personalmente
>
> saludos
>
> Antonio
> ms mvp windowsxp
>
> "Carlos José GALLI RIOBÓO" wrote in message
> news:
> > He incluido en el CONFIG.NT del directorio \WINDOWS\SYSTEM32 la
sentencia:
> > device=%SystemRoot%\system32\ansi.sys
> > Luego reinicié el ordenador pero no me coge los códigos de escape.
> > Tengo un XP Profesional SP1.
> > ¿Alguien sabe dónde está el error?.
> > Gracias.
> >
> > Carlos José GALLI RIOBÓO
> > Dirección de correo:
> > MS Messenger:
> > Yahoo Messenger: carlos_jose_galli
> >
> >
>
>


Respuesta Responder a este mensaje
#22 Alex GD
09/09/2003 - 01:27 | Informe spam
El comando dos=umb no sirve de nada sin un controlador de memoria alta.


Saludos
Regards
Alex
email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una pregunta AnteriorRespuesta Tengo una respuesta
Search Busqueda sugerida