QUOTE (dennis123123 @ Sep 14 2005, 03:34 PM)

dospe is a pebuilder plugin, doesnt seem to work transposing it to the proper official winpe. try DosBOX if it just a command shell you want. If you find a working method though - ur a genius and you should let everyone know!
After long experiments I got the normal working DOS-Prompt in BartPE (Reatogo-240). The biggest problem was ps/2-mouse, on my own computer
(AMD-32bit,ps/2-mouse, ps/2-keyb, ATI R280). PS/2-mouse is absent in windowed DOS-session, and is present in full-screen. Perhaps the same takes place on all
computers, - without exception.
The next file dospe_ps2.inf collects differences comparing dospe.inf. BartPE file dospe.inf is included in the Reatogo-240 ..
\OEM1\3-reatogo_essentials\ESSENTIALS.inf.
1. In my opinion is useful to change _default.pif label properties, to increase memory; copy _default.pif from another directory, and pifmgr.dll, kb16.com.
2. The registry must contain cmd.exe properties HKEY_CURRENT_USER\Console...
3. There is not important typos in dospe.inf/ESSENTIALS.inf: tapi.dll = 5, 4, 4 (tapi.dll = 5, 4), and another details.
CODE
; dospe_ps2.inf
; PE Builder v3 plug-in INF file for (16bit) DOS support
;
; Plugin Created by Erwin Veermans (http://www.veder.com/nwdskpe/)
; dospe.inf = C:\REATOGO-240\OEM1\3-reatogo_essentials\ESSENTIALS.inf
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="144 DosPE 16-bit++ ps/2Mouse"
Enable=1
Help="dospe.htm"
Version=1.0.6
; [WinntDirectories]
; a="Programs\Tame441",2
;
; [SourceDisksFolders]
; Tame=a,,1
[SourceDisksFiles]
; SystemRoot
nt\_default.pif=1
nt\system.ini=1
nt\win.ini=1
nt\autoexec.nt=2
nt\config.nt=2
; SYSTEM32
kb16.com=2
pifmgr.dll=2
; DOS programs from WinXP
diskcomp.com=2
diskcopy.com=2
doskey.exe=2
edit.com=2
graftabl.com=2
graphics.com=2
loadfix.com=2
more.com=2
tree.com=2
debug.exe=2
chkntfs.exe=2
cipher.exe=2
conime.exe=2
fastopen.exe=2
forcedos.exe=2
;forcedos.exe=44
edlin.exe=2
exe2bin.exe=2
help.exe=2
mem.exe=2
recover.exe=2
setver.exe=2
; drwatson.exe=2
; Printer DOS
WINSPOOL.DRV=5
;
; win.com=2
; Vdmredir.dll=2
; mf3216.dll=2
; TOOLHELP.DLL=2
; Ds32gt.dll=2
; Ctl3d32.dll=2
[WinntDirectories]
b="Programs\VC",2
[SourceDisksFiles]
vc\VC.COM=b,,1
vc\VC.INI=b,,1
vc\VC.ICO=b,,1
vc\VC.CMD=b,,1
vc\DIGGER.EXE=b,,1
; vc\DIGGER.INI=b,,1
;
[Software.AddReg]
0x2, "Sherpya\XPEinit\Desktop","VC","%SystemDrive%\Programs\VC\VC.CMD||%SystemDrive%\Programs\VC\VC.ico"
[SetupReg.AddReg]
; --- Dos Support ---
; 0x1, "ControlSet001\Control\WOW", "DefaultSeparateVDM", "yes"
; 0x1, "ControlSet001\Control\WOW", "LPT_timeout", "15"
; 0x1, "ControlSet001\Control\WOW", "size", "0"
; 0x1, "ControlSet001\Control\WOW", "wowsize", "32"
;0x1, "ControlSet001\Control\WOW", "wowsize", "64"
; 0x4, "ControlSet001\Control\WOW", "SharedWowTimeout", 0x00000e10
; WinXP
0x3, "ControlSet001\Control\WOW","RomFontPointers",\
a5,30,00,c0,92,28,00,c0,92,2c,00,c0,92,30,00,c0,a5,30,00,c0,a5,40,00,c0
; As is
;0x3, "ControlSet001\Control\WOW", "RomFontPointers",\
; b0,52,00,c0,b0,4a,00,c0,b0,4e,00,c0,b0,60,00,c0,c0,60,00,c0,c0,70,00,c0
; # # # # # # # # # #
0x2, "ControlSet001\Control\Session Manager\Environment","Path","%SystemRoot%\system32;%SystemRoot%"
;
0x1, "ControlSet001\Control\Keyboard Layout\DosKeybCodes","00000409","ru"
; To change the defaults for window's size/colours of a command prompt window in Sherpya'a XPE.
; @echo off&Title=Test title&Color 17&MODE CON: COLS=50 LINES=10
; WinXP:
; HKEY_CURRENT_USER\Console...
[Default.AddReg]
0x4, "Console","ColorTable00", 0x00000000
0x4, "Console","ColorTable01", 0x00800000
0x4, "Console","ColorTable02", 0x00008000
0x4, "Console","ColorTable03", 0x00808000
0x4, "Console","ColorTable04", 0x00000080
0x4, "Console","ColorTable05", 0x00800080
0x4, "Console","ColorTable06", 0x00008080
0x4, "Console","ColorTable07", 0x00c0c0c0
0x4, "Console","ColorTable08", 0x00808080
0x4, "Console","ColorTable09", 0x00ff0000
0x4, "Console","ColorTable10", 0x0000ff00
0x4, "Console","ColorTable11", 0x00ffff00
0x4, "Console","ColorTable12", 0x000000ff
0x4, "Console","ColorTable13", 0x00ff00ff
0x4, "Console","ColorTable14", 0x0000ffff
0x4, "Console","ColorTable15", 0x00ffffff
0x4, "Console","CursorSize", 0x00000019
0x1, "Console","FaceName",""
0x4, "Console","FontFamily", 0x00000000
0x4, "Console","FontSize", 0x00000000
0x4, "Console","FontWeight", 0x00000000
0x4, "Console","FullScreen", 0x00000000
0x4, "Console","HistoryBufferSize", 0x00000032
0x4, "Console","InsertMode", 0x00000001
0x4, "Console","LoadConIme", 0x00000001
0x4, "Console","NumberOfHistoryBuffers", 0x00000004
0x4, "Console","PopupColors", 0x000000f5
0x4, "Console","QuickEdit", 0x00000000
0x4, "Console","ScreenBufferSize", 0x012c0050
0x4, "Console","ScreenColors", 0x00000007
0x4, "Console","WindowSize", 0x00190050
0x4, "Console","CurrentPage", 0x00000000
0x4, "Console\%SystemRoot%_system32_cmd.exe","QuickEdit", 0x00000001
0x4, "Console\%SystemRoot%_system32_cmd.exe","ScreenBufferSize", 0x00190050
0x4, "Console\%SystemRoot%_system32_cmd.exe","CursorSize", 0x00000032
0x4, "Console\%SystemRoot%_system32_cmd.exe","HistoryNoDup", 0x00000001
[Software.AddReg]
; --- Console ---
0x2,"Reatogo\Logon\Shells\Console","cmdline","cmd.exe"
0x2,"Reatogo\Logon\Shells\Console","path","%SystemDrive%"
0x2,"Reatogo\Logon\Shells\Console","icon","cmd.exe,0"
0x2,"Reatogo\Logon\Shells\Console","wallpaper","(none)"
0x2,"Reatogo\Logon\Shells\Console","shellinit",""
AUTOEXEC.NT:
CODE
@echo off
lh %SystemRoot%\system32\mscdexnt.exe
REM lh %SystemRoot%\system32\redir
REM Install DPMI support
lh %SystemRoot%\system32\dosx
SET BLASTER=A220 I5 D1 P330 T3
lh %SystemRoot%\system32\kb16.com ru,866
REM lh %SystemRoot%\PROGRAMS\Tame441\tame-res.com
CONFIG.NT:
CODE
EMM = B=4000 RAM
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=60
REM shell=%SystemRoot%\system32\command.com /P /E:4096 /MSG
vc.cmd:
CODE
@echo off
rem -------------------------------------------------------------------
rem vc.cmd - Script to start Volkov Commander from WinPE
rem Created by (Bart Lagerweij) D.A.
rem -------------------------------------------------------------------
echo vc.cmd: Starting...
setlocal
if "%temp%" == "" goto _err
if exist "%temp%\vc\vc.com" goto _run
echo vc.cmd: Copying "%~dp0*.*" to "%temp%\vc\"
xcopy /s "vc.com" "%temp%\vc\"
xcopy /s "vc.ini" "%temp%\vc\"
xcopy /s "digger.*" "%temp%\vc\"
:_run
loadfix %temp%\vc\vc.com
goto _end
:_err
echo.
echo vc.cmd: No temp variable set...
echo vc.cmd: Try adding a ramdrive...
echo.
pause.
:_end
endlocal
I do not know about WinPE, I do not know in what degree BartPE is Win4Lin for Knoppix, but DosBox for Windows can be easily transferred to the
BartPE\Reatogo.
CODE
; DOSBox.inf
; DOSBox-0.72
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="DosBox_0.72"
Enable=1
Help="\..\..\"
[WinntDirectories]
a="Programs\DosBox",2
[SourceDisksFolders]
Files=a,,1
[Software.AddReg]
0x2, "Sherpya\XPEinit\Programs","My programs\DosBox-0.72","%SystemDrive%\Programs\DosBox\dosbox.exe"
0x2, "Sherpya\XPEinit\Desktop","DosBox","%SystemDrive%\Programs\DosBox\dosbox.exe"