Hi again,
> > Since apparently you're using CWSDSTUB.EXE, you'll have to use
> > CWSPARAM.EXE (or similar) to change the default path "c:\cwsdpmi.swp"
> > to something invalid, e.g. "" (nothing), which (IIRC) by default will
> > just put a '\0' in the drive byte of the path.
>
> how *exactly* do I do that with cwsparam? do I use this instead of
> cwsdstum or in addition to, or what's going on here? help me out.
> the manual doesn't work.
================
F:\>copy /b cwsdstub.exe *.bak
cwsdstub.exe => cwsdstub.bak
F:\>cwsparam cwsdstub.exe
Full name of paging file ("" to disable) ? [c:\cwsdpmi.swp] ""
Number of page tables to initially allocate (0=auto) ? [0]
Minimum application memory desired before 640K paging ? [512Kb]
Paragraphs of DOS memory to reserve when 640K paging ? [3840]
Paragraphs of memory for extra CWSDPMI internal heap ? [256]
Maximum size of swap file ? [128Mb]
Value of run option flags ? [0]
F:\>cwsparam -v cwsdstub.exe
-value- -field description-
*Disabled* Full name of paging file ("" to disable)
0 Number of page tables to initially allocate
(0=auto)
512Kb Minimum application memory desired before 640K
paging
3840 Paragraphs of DOS memory to reserve when 640K
paging
256 Paragraphs of memory for extra CWSDPMI internal
heap
128Mb Maximum size of swap file
0 Value of run option flags
F:\>fc cwsdstub.bak cwsdstub.exe
Comparing F:\cwsdstub.bak and F:\CWSDSTUB.EXE
0000538E: 63 c 00
F:\>scrndump jim.txt
================
Basically I just typed verbatim "" (two double quotes) for null path.
Then I just kept hitting enter for default values in []. As you can
see, all it does it patch one byte to make it invalid.