Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Considering MS-DOS (Users)

posted by Dennis, 04.08.2011, 04:38

> I also checked win32 ver. and ansi you mentioned (even for 64bit
> windows, with mingw sources, maybe interesting...)

I set it up using a CMD file, like this

@echo off
: This file is executed at CMD.exe startup by this registry entry:
: HKLM\SOFTWARE\Microsoft\Command Processor\AutoRun

: Specify search path used in console windows
path d:\windows\system32;d:\windows;d:\windows\system32\wbem;d:\console\dos;
d:\console\bin;d:\console\usr\local\wbin;d:\console\4dos;d:\console\ebooks;
d:\Console\DCL;d:\Console\Lua;d:\cygwin\bin

set COLORDIR=
set EDITOR=vimu
set TEMP=Z:\Temp
set TMP=Z:\Temp
set TERM=xterm

: Load Jason Hood's 32 bit command line editor extension
cmdkey -c50,100 -l3 -h100 d:\Console\DOS\cmdedit.cfg

: Load Jason Hood's 32 bit ANSI display support module
ansicon -m1E -p

: Set custom prompt that creates inverse video status bar in a CMD window
prompt $e[s$e[H$e[7m$e[K$D $B $P$e[m$e[u$g
: cls


Create registry key mentioned in the code, and make the value assigned to it the initialization file you want to use. It will be evaluated every time CMD.EXE is spawned.
______
Dennis

 

Complete thread:

Back to the forum
Board view  Mix view
21998 Postings in 2024 Threads, 395 registered users, 80 users online (0 registered, 80 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum