Article View: comp.os.msdos.programmer
Article #2450Re: MSDOS recursive dir walk help
From: Timo Salmi
Date: Mon, 01 Oct 1990 09:53
Date: Mon, 01 Oct 1990 09:53
28 lines
1882 bytes
1882 bytes
In article <2613@naucse.cse.nau.edu> rrw@naucse.cse.nau.edu (Robert Wier) writes: > > Not being an MSDOS expert, I wonder if anyone can suggest > an easy way out of the following problem: > While installing a CD ROM drive, I inadvertantly managed to > copy about a FIVE HUNDRED data files to a hard disk. The path > looks like > c:\dir1\dir2\dir3\dir4\files > The problem is that the files are marked READ ONLY (reasonable > since they came off a CDROM). Question: how do I delete 'em > without having to cd into each and every subdirectory above > the files? (in case it wasn't clear from the above.. there There are two utilities that might come handy here. The first is sweep.com (included in /pc/pd2/cpcug.zip), which can be used to reset all the readonly attributes (sweep attrib -r *.*), and the second is /pc/pd2/pdel41.zip, which can be used to delete directories and files. Be careful, though, with pdel, lest you end up with an empty harddisk. The wares are available from chyde.uwasa.fi, Vaasa, Finland, 128.214.12.3 by anonymous ftp, or our new mail-server if you don't have anonymous ftp. ................................................................... Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
Technical Details
Message-ID:
<1990Oct1.095324.20933@uwasa.fi>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eru!hagbard!sunic!news.funet.fi!uwasa.fi!tsReferences:
<2613@naucse.cse.nau.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eru!hagbard!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.os.msdos.programmer Subject: Re: MSDOS recursive dir walk help Message-ID: <1990Oct1.095324.20933@uwasa.fi> Date: 1 Oct 90 09:53:24 GMT References: <2613@naucse.cse.nau.edu> Organization: University of Vaasa Lines: 28