Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-06-2006, 03:00 PM   #1
Member (9 bit)
 
Join Date: Mar 2005
Posts: 326
DOS question

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

TIA
24giovanni is offline   Reply With Quote
Old 07-06-2006, 03:14 PM   #2
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 37,786
Deltree works too - but be careful. That only works in Dos 6.x or 7.x, not in a 2K/XP command environment.
glc is offline   Reply With Quote
Old 07-06-2006, 03:15 PM   #3
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
Copying nothing to the file would eliminate the data, but the file would still exist. You could also remove the directory it is in, but that would destroy all other files in that directory too.

Is this some kind of trick question?
doctorgonzo is offline   Reply With Quote
Old 07-06-2006, 03:20 PM   #4
Member (9 bit)
 
Join Date: Mar 2005
Posts: 326
no just a question I was asked and didn't know the answer.
24giovanni is offline   Reply With Quote
Old 07-07-2006, 07:22 AM   #5
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Don't know if this is what you are looking for, but if you have PHP installed, you could do:
Code:
php -r 'unlink( "file\\to\\delete" );'
from the command line.
faulkner132 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:06 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2