12-12-2003, 04:17 PM | #1 |
Galvatron
Join Date: June 24, 2002
Location: aa
Posts: 2,101
|
what's the dos command to delete a single file. i tried 'del file' but it doesn't work and I can't do del *.* because it's on my desktop
thanks! |
12-12-2003, 04:27 PM | #2 |
Takhisis Follower
Join Date: April 30, 2001
Location: szép Magyarország (well not right now)
Posts: 5,089
|
It is "del filename.ext". No question about it. If you're trying to delete a directory, use "rmdir". Maybe you missed the file's extension? You can also try deltree though this is for deleting whole directory trees as the name suggests.
__________________
Too set in his ways to ever relate If he could set that aside, there'd be heaven to pay But weathered and aged, time swept him to grave Love conquers all? Damn, I'd say that area's gray |
12-12-2003, 04:44 PM | #3 |
Galvatron
Join Date: June 24, 2002
Location: aa
Posts: 2,101
|
Thanks, i forgot the extension.
|
12-12-2003, 06:45 PM | #4 |
Takhisis Follower
Join Date: January 7, 2001
Location: Mandurah, West Australia
Age: 61
Posts: 5,073
|
Damn - a DOS question [img]smile.gif[/img] - but I was too slow to get the answer in first. Those were the days when I had different autoexec.bat's and config.sys's for each new game, and wrote batch files and menu's that would automatically copy across the different files and reboot the computer just to play different games.
Oh how I miss all that .........NOT
__________________
Davros was right - just ask JD |
12-12-2003, 09:29 PM | #5 |
Takhisis Follower
Join Date: April 30, 2001
Location: szép Magyarország (well not right now)
Posts: 5,089
|
Davros stop tryina show off your DOS knowledge - these kiddies here won't understand or appreciate it anyway [img]tongue.gif[/img] I bet I managed to free up more of my 640KB conventional memory than you did [img]tongue.gif[/img] damn I'm sad
__________________
Too set in his ways to ever relate If he could set that aside, there'd be heaven to pay But weathered and aged, time swept him to grave Love conquers all? Damn, I'd say that area's gray |
12-12-2003, 09:59 PM | #6 | |
Takhisis Follower
Join Date: January 7, 2001
Location: Mandurah, West Australia
Age: 61
Posts: 5,073
|
Quote:
__________________
Davros was right - just ask JD |
|
12-13-2003, 12:10 AM | #7 | |
Quintesson
Join Date: September 12, 2001
Location: Ewing, NJ
Age: 42
Posts: 1,079
|
Quote:
|
|
12-13-2003, 01:52 AM | #8 |
Ma'at - Goddess of Truth & Justice
Join Date: October 18, 2003
Location: Oslo, Norway.
Age: 61
Posts: 3,360
|
You can also trie "deltree" that will remove an whole directory!
Exp: "deltree c:\windows" without the qoutes and so on [img]smile.gif[/img] Like Vaskez say it is the best way to kill any files in that directory! [ 12-13-2003, 01:56 AM: Message edited by: Megabot ] |
12-13-2003, 08:05 AM | #9 | |
Galvatron
Join Date: June 24, 2002
Location: aa
Posts: 2,101
|
Quote:
I like dos for those situations, it doesn't nag that the program is in use and just deletes it. Windows complains it's running, which I'm sure it doesn't. Also a python program I'm writing is running in dos (till I make a GUI) and it looks better than in windows IMO |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Command question | Variol (Farseer) Elmwood | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 3 | 08-21-2006 05:24 PM |
CNN Reports (from US Central Command) | Micah Foehammer | General Discussion | 5 | 07-22-2003 06:43 PM |
Command and Conquer Generals | Chewbacca | General Discussion | 6 | 04-30-2003 04:44 AM |
Need a console command | vortex | Miscellaneous Games (RPG or not) | 2 | 07-06-2002 12:21 AM |
Another Command | Azred | Icewind Dale | Heart of Winter | Icewind Dale II Forum | 0 | 09-14-2000 10:51 PM |