Mail Archives: opendos/2000/04/29/12:44:32
> 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 -