Code Newbie
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 Newbie
    forums

Go Back   Code Forums > Systems > Windows

Reply
 
LinkBack Thread Tools Display Modes
Old 04-23-2003, 03:33 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,490
sde is on a distinguished road
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 is offline   Reply With Quote
Old 04-23-2003, 04:26 PM   #2 (permalink)
alpha
Regular Contributor
 
Join Date: Feb 2003
Posts: 120
alpha is on a distinguished road
Send a message via AIM to alpha
del c:\test /Q
alpha is offline   Reply With Quote
Old 04-24-2003, 11:19 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,490
sde is on a distinguished road
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 is offline   Reply With Quote
Old 04-24-2003, 11:54 AM   #4 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
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 is offline   Reply With Quote
Old 04-24-2003, 12:14 PM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,490
sde is on a distinguished road
thanks=) worked perfectly.
__________________
Mike
sde is offline   Reply With Quote
Old 08-20-2008, 10:31 AM   #6 (permalink)
poophead92
Recruit
 
Join Date: Aug 2008
Posts: 1
poophead92 is on a distinguished road
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 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 08:40 AM
delete parts of an array Apodysophilia Java 4 05-07-2003 12:11 PM
Force Window Maximize? Miststlkr HTML, XML, Javascript, AJAX 1 12-20-2002 06:46 AM


All times are GMT -8. The time now is 05:05 PM.


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