delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/2000/04/29/12:44:32

Message-ID: <00bf01bfb1fd$800de620$11fea8c0@dell>
From: "Ben A L Jemmett" <ben DOT jemmett AT ukonline DOT co DOT uk>
To: <opendos AT delorie DOT com>
References: <Pine DOT GSO DOT 4 DOT 21 DOT 0004292025230 DOT 2654-100000 AT jedi DOT apana DOT org DOT au>
Subject: Re: protecting DR-DOS from Windows
Date: Sat, 29 Apr 2000 18:02:32 +0100
Organization: Jemmett Glover Software Development
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Reply-To: opendos AT delorie DOT com

>    My problem is,Windows IS touching that disk. It keeps dumping a
> "recycled" directory onto the disk (which can only be removed by a
> re-format) with a "desktop.ini" in it (the file can be deleted,but not the
> directory).

> I don't know what particular operation is doing this.
Explorer creates the directory on startup (or perhaps Windows itself) - it's
the Recycle Bin.  Files you put in the Bin go to the Recycled directory on
the relevant drive, get renamed and then indexed in database file in there.

Perhaps you can get Windows not to create the directory by turning off the
Recycle Bin:  Recycle Bin->Properties, and tick the 'Do not move files to
the Recycle Bin.  Remove files immediately when deleted' option.  You can
choose to do this for all drives (on the Global tab), or just for your
DOS-only partitions (select 'Configure drives independently' on the Global
tab, and then set the options you want on the tab for each partition).

>    So,what I'm wondering - does anyone know how to make these partitions
> read-only to Windows? I looked in "properties" for the disks,but there was
> nothing like that there.
I don't think it's possible, short of some more advanced partition manager -
Ontrack Disk Manager can set a partition as read-only, but it's a pain in
the metaphorical to use.

>    Alternatively,I need to know how to get rid of that directory. "rd
> recycled" says it's in use,or not empty (untrue in both cases),or
> sometimes says it can't FIND the directory (even though you can "cd" into
> it).
What does ATTRIB x:\RECYCLED report?  It may be set SHR, in which case
ATTRIB -S -H -R x:\RECYCLED and RMDIR x:\RECYCLED may work.  Failing that,
XDEL might manage it.

HTH,
Regards,
Ben A L Jemmett
(http://web.ukonline.co.uk/ben.jemmett/, http://www.deltasoft.com/)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019