DELETE COMMAND

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, i am using the DEL command, and i am trying to delete all the files in a
certain folder.

The command did work, but it did NOT delete the folders within that
particular folder.

I did specify DEL /Q /S C:\"Documents and Settings\Rafik\Local
Settings\Temp\*.*" So how do i delete the folders within this folder? - as
they remain there. what can i add to the command to achieve the deletion of
all folders within TEMP.

I want to learn the using commands etc, which is the reason i am trying to
do this.

Can anyone help.

regards
 
Pinto1uk said:
Hi, i am using the DEL command, and i am trying to delete all the files in a
certain folder.

The command did work, but it did NOT delete the folders within that
particular folder.

I did specify DEL /Q /S C:\"Documents and Settings\Rafik\Local
Settings\Temp\*.*" So how do i delete the folders within this folder? - as
they remain there. what can i add to the command to achieve the deletion of
all folders within TEMP.

I want to learn the using commands etc, which is the reason i am trying to
do this.

Can anyone help.

regards

How many times are you going to post the same question?

Reading:
http://www.ericphelps.com/batch/
http://www.computerhope.com/batch.htm
http://www.generation.net/~hleboeuf/dos7comm.htm
http://www.lagmonster.org/docs/DOS7/commandintro.html

Find the link to "Clear.bat" on this page:
http://www.geocities.com/sheppola/freeprog.html

Newsgroups:
comp.os.msdos.programmer
comp.os.ms-windows.programmer.misc
 
Back
Top