Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

automatic delete parameters.

5 views
Skip to first unread message

Takuma Wagner

unread,
Mar 15, 2002, 5:34:57 AM3/15/02
to
H folks

I craeted a batch to automize a delete action. But when I have some
subdirectories in the current folder, I have to enter a Y or N (Yes or No).
I took the following promt:

del c:\temp\*.* /S

/S = deletes all data including subdirectories without the
directory-structur.

I have to press Y or N to delete data in the subdirectories.
Is there a possibility, to automize the whole action. So that I only have to
doubleclick on the batch-file and the rest is running in the background.

It should run on Windows 2000.

Thanx for your help

Greetings
Takuma


Alex K. Angelopoulos

unread,
Mar 15, 2002, 7:36:42 AM3/15/02
to
Make that:


del c:\temp\*.* /S /Q


"Takuma Wagner" <takuma...@cedes.com> wrote in message news:a6sioh$2jm$1...@rex.ip-plus.net...
: H folks

:
:

Jim

unread,
Mar 15, 2002, 1:24:02 PM3/15/02
to
"Takuma Wagner" <takuma...@cedes.com> wrote in message news:<a6sioh$2jm$1...@rex.ip-plus.net>...
> H folks
>
> I craeted a batch to automize a delete action. But when I have some
> subdirectories in the current folder, I have to enter a Y or N (Yes or No).
> I took the following promt:
>
> del c:\temp\*.* /S
>
> /S = deletes all data including subdirectories without the
> directory-structur.
>
> I have to press Y or N to delete data in the subdirectories.
> Is there a possibility, to automize the whole action. So that I only have to
> doubleclick on the batch-file and the rest is running in the background.

You probably won't need the /S just add /Q

del c:\temp\*.* /S /Q

/Q Quiet mode, do not ask if ok to delete on global wildcard

Good luck.

0 new messages