Mail Archives: opendos/1997/10/14/19:22:19
dsk0$ is the character device, and is of type char. But it is only a
generalised device as it may change from OS to OS.
Wayne
-----Original Message-----
From: Takashi Toyooka <ttoyooka AT verisim DOT com>
To: opendos AT delorie DOT com <opendos AT delorie DOT com>
Date: Wednesday, October 15, 1997 4:00 AM
Subject: Re: ls (killing disk 0)
>In a previous message, J P Morris said:
>> Wayne wrote:
>> > Want to try something, type "type filename.exe > \dev\dsk0$" and
>> > watch your first disk disappear.
>>
>> I tried this on one of our test machines, an IBM PS/2 55. The
>> operating system was OpenDOS 7.02alpha3.
>>
>> The command issued was 'type autoexec.bat > \dev\dsk0$' The result
>> was 'Invalid directory specified'.
>
>I just had a brain wave here... is the '$' supposed to represent
>'Enter'? Or do you actually type a dollar sign? I haven't tried it
>yet, myself, but it was just a thought.
>
>----------------------------------------------------------------------
>Takashi Toyooka <ttoyooka AT pobox DOT com> Verisim, Inc.
>http://www.magi.com/~ttoyooka/ http://www.verisim.com/
- Raw text -