Special wrote on Tue, 12 Oct 2010 20:58:32 -0400:
>> Hello All!
>>
>> I did an experiment to see how well directory structure was
>> preserved by "sending" a complex directory to an external
>> USB. I'd now like to remove the result but Windows insists on
>> sending each file to the Recycle Bin. Is there some way to
>> just do a delete ("with prejudice", as the spy novels say.)
> If it all started from one directory (c:\temp, for example)
> then typing "rd c:\temp /q /s" would remove the directory and
> all subdirectories/files without question. Even "rd . /q /s"
> will work from the CMD prompt.
> If there are active or locked files/folders, it will leave
> them alone. All the others will be deleted. I have done this
> on several occassions and never have they shown up in the
> recycle bin.
I had not thought of going to the command prompt! It's amazing how fixed
you can get in the ways of Windows. Your suggestion was very useful
because "My Computer" removed the contents of the directory but would
not remove the empty directory from the external USB disc. However, the
command prompt rd G:\fooper worked fine. ("Fooper" was chosen as a silly
name for the test to avoid conflicts.)
--
James Silverton
Potomac, Maryland
Email, with obvious alterations: not.jim.silverton.at.verizon.not
|