News
Forums
Search
Members
Sign Up
My Code Newbie
Username
Password
Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET
C.N. Friends
Planet Rome
Link to Us!
Code Newbie
Code Forums
>
Systems
>
Windows
force delete from command line
User Name
Remember Me?
Password
Register
FAQ
Calendar
Search
Today's Posts
Mark Forums Read
LinkBack
Thread Tools
Display Modes
04-23-2003, 04:33 PM
#
1
(
permalink
)
sde
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,529
force delete from command line
i want to delete a directory from the command line without having to give any input:
[SHELL]del c:\test[/SHELL]
when i do that, it asks me if i'm sure .. is there a way to force it?
__________________
Mike
sde
View Public Profile
Visit sde's homepage!
Find More Posts by sde
04-23-2003, 05:26 PM
#
2
(
permalink
)
alpha
Regular Contributor
Join Date: Feb 2003
Posts: 120
del c:\test /Q
alpha
View Public Profile
Find More Posts by alpha
04-24-2003, 12:19 PM
#
3
(
permalink
)
sde
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,529
this is weird. .. it executes like it did something without a prompt, but it will not delete my test file.
i'm workin on winxp pro
__________________
Mike
sde
View Public Profile
Visit sde's homepage!
Find More Posts by sde
04-24-2003, 12:54 PM
#
4
(
permalink
)
sdeming
Code Monkey
Join Date: Jul 2002
Location: Michigan
Posts: 85
Do you want to delete the entire directory?
If so: rmdir /s /q c:\test
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming
View Public Profile
Visit sdeming's homepage!
Find More Posts by sdeming
04-24-2003, 01:14 PM
#
5
(
permalink
)
sde
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,529
thanks=) worked perfectly.
__________________
Mike
sde
View Public Profile
Visit sde's homepage!
Find More Posts by sde
08-20-2008, 11:31 AM
#
6
(
permalink
)
poophead92
Recruit
Join Date: Aug 2008
Posts: 1
can't delete items from recycle bin
i hav some items in the recycle bin that won't delete. the message that shows is:
Cannot delete Dc121: It is being used by another person or program. Close any programs that might be using the file and try again.
how do i delete the stupid things?
poophead92
View Public Profile
Find More Posts by poophead92
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
getting the value of a select box to confirm delete.
sde
HTML, XML, Javascript, AJAX
2
05-03-2004
09:40 AM
delete parts of an array
Apodysophilia
Java
4
05-07-2003
01:11 PM
Force Window Maximize?
Miststlkr
HTML, XML, Javascript, AJAX
1
12-20-2002
07:46 AM
All times are GMT -8. The time now is
04:41 PM
.
Contact Us
-
CodeNewbie.com
-
Archive
-
Top
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by
vBSEO
3.0.0 RC8
Copyright © 2000-2008,
Milano Interactive
Web Hosting provided by
Portal 360 Web Hosting
LinkBack
LinkBack URL
About LinkBacks