Re: How to delete specified files in a tree

Tech-Archive recommends: Fix windows errors by optimizing your registry




"imaciscoguy" <imaciscoguy@xxxxxxxxx> wrote in message
news:94829466-82e4-4b8f-8ef3-7de090818102@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 2, 2:38 pm, "Pegasus \(MVP\)" <I....@xxxxxxxxxx> wrote:
"imaciscoguy" <imacisco...@xxxxxxxxx> wrote in message

news:b22ced77-d052-4766-aee0-9872828f48f0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Can I be helped?
How can I delete specific files from a computer directory and from the
subdirectories?
Thanks in advance for helping me.
Cisco

Use the inbuilt "del" command:

del /s "d:\User Files\SomeFile.txt"

Boy am I red!
Thank you Pegasus \(MVP\)

==========

Glad to be able to assist.


.



Relevant Pages

  • DOS delete files command question
    ... I first go to C:\temp in command line, and del *.*, but it only deleted the ... not files in the subdirectories. ... If I want to put this task in batch file, the following won't work at all. ...
    (microsoft.public.win2000.general)
  • delete files in command prompt
    ... I first go to C:\temp in command line, and del *.*, but it only deleted the ... not files in the subdirectories. ... If I want to put this task in batch file, the following won't work at all. ...
    (microsoft.public.win2000.general)
  • Re: How to delete specified files in a tree
    ... Use the inbuilt "del" command: ...
    (microsoft.public.scripting.vbscript)
  • Re: How to delete specified files in a tree
    ... Use the inbuilt "del" command: ...
    (microsoft.public.scripting.vbscript)
  • Re: How to find total MB of a directory plus all subdirectories
    ... Nigel Henry wrote: ... named Sounds Library, this contains many subdirectories, which contain ... What command can I use to find out the disk space this directory is ... subdirectories are multi worded without any hyphens, ...
    (Fedora)