DELETE COMMAND

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
 
M

Mark

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top