DOS question - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 07-06-2006, 04:00 PM   #1 (permalink)
Banned
 
Join Date: Jul 2003
Posts: 878
Default DOS question

How would you remove a file without using DEL or DELETE please?

TIA
__________________

24giovanni is offline  
Old 07-06-2006, 04:54 PM   #2 (permalink)
Monster Techie
 
MrCoffee's Avatar
 
Join Date: Feb 2006
Location: UK
Posts: 1,858
Default

umm, thats what those commands are for.. they not good enough for you?
__________________

__________________
Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24"
MrCoffee is offline  
Old 07-06-2006, 09:50 PM   #3 (permalink)
Wizard Techie
 
Jorsoft's Avatar
 
Join Date: Feb 2004
Location: Oakdale, MN
Posts: 4,581
Default

^What he said...
Why do you need something different than that, those are the commands to delete files. Is the file not deleting properly or something?
__________________
Jorsoft is offline  
Old 07-06-2006, 10:49 PM   #4 (permalink)
Monster Techie
 
Join Date: May 2004
Location: /usr/root/mn/us
Posts: 1,118
Default

You can use "erase filename"

Erase does the same thing as del and delete. But why not just use those commands?

you could also remove the entire directory containing the file and all subdirectories with "rmdir /s directorypath" Be very careful with this one because it does a recursive call and deletes the whole file tree.
__________________

Its a frigging Laptop, not a Labtop!!!!
bla!! is offline  
Old 07-07-2006, 12:00 PM   #5 (permalink)
Super Techie
 
Join Date: Jun 2006
Posts: 489
Default

Del and erase are the only commands that I know for erasing files. Why do you need another command? Those commands are perfect. If you need to remove a directory, Use the rd or rmdir command. Del (directory) will delete all contents of a directory, but not the actual directory.
__________________
Torvalds was contemptuous of Microsoft's claims and has asked Redmond to name the patent infringements so that their veracity can be challenged and workarounds found.
"Naming them would either make it clear that Linux is not infringing at all (which is quite possible, especially if the patents are bad), or would make it possible to avoid infringing by coding around whatever silly thing they claim,"

"So the whole 'We have a list and we're not telling you' should tell you something. Don't you think that if Microsoft actually had some really foolproof patent, they'd just tell us and go, 'nyaah, nyaah, nyaah!'?"

whole story here: http://www.vnunet.com/vnunet/news/21...-microsoft-put
kpmwrestler is offline  
Closed Thread

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 Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:56 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.