[comp.sys.ibm.pc] DOS pipe file redirection

gold@infbs.UUCP (05/23/87)

DOS pipe file redirection

Recently there was a request on how to make DOS write its temporary files
to a particular disk.
As I had done some research on this before, I can provide some information
that is close to a general solution. I already works fine with my German 
version of DOS in which some storage addresses are different.
For German DOS 3.2, call the debugger and change COMMAND.COM by

    E 32c3     
	    CD.b0  21.nn
    W
    Q

where  nn  stands for the number of the drive of your choice ( e.g. 
nn = 03 for D: ). To understand what's going on: this replaces an INT 21
(AH=19, "get current disk") by a  MOV AL,nn  to simulate the whole thing.

I don't know whether this patch has any unwanted side effects. I haven't
found any yet, although I have used the modified command interpreter
for quite a time.

For genuine English DOS 3.2 the location to change is supposed to be 
at 3173 (and it is different for all other languages).
It would be nice if somebody out there tried it. Please write a short 
response to my note.

I hope, you'll enjoy it as much as I do.

...........................................................................
Michael Goldapp, c/o Computer Science Department, Techn. Univ. Braunschweig

roper@uw-june.UUCP (Michael Roper) (05/29/87)

In article <22800001@infbs.UUCP>, gold@infbs.UUCP writes:
- [about a pipe file patch for 3.2...]
- For genuine English DOS 3.2 the location to change is supposed to be 
- at 3173 (and it is different for all other languages).
- It would be nice if somebody out there tried it. Please write a short 
- response to my note.

Works like a charm.  I used '03' to specify my D: drive, which is a RAM disk.

-- 
---Michael Roper---                    *
                                       *   "Calvin, do you believe in God?"
ARPA:  roper@june.cs.washington.edu    *
UUCP:  ihnp4!uw-beaver!uw-june!roper   *  "Well...SOMEBODY is out to get me."