Computing.Net > Forums > Disk Operating System > deleting a file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

deleting a file

Reply to Message Icon

Name: JEDT
Date: October 18, 2002 at 15:30:24 Pacific
OS: windows 95
CPU/Ram: pentium 266
Comment:

im trying to delete a file from dos(because i cant in windows).. I've tried del c:\program files\desktop\my wallpaper\*.bmp(because the name continues beyond the area to write).. but it says path not found.. files\desktop etc.. something like this.. what should i do? i thought maybe to move from the c:\windows prompt that comes up, but dont know how to either.. i dont know how to use dos well, or what the problem is, please help.



Sponsored Link
Ads by Google

Response Number 1
Name: VladTsyrklevich
Date: October 18, 2002 at 15:51:44 Pacific
Reply:

the problem is is that DOS sucks at spaces... SO, I woild do this:

cd c:\program files\desktop\my wallpaper
del *.bmp*
cls
exit

Does it work now? See I had a problem too that DOS had a problem with the files because of the space but after I cd'd there it didnt have a problem at all. Solve it?


0

Response Number 2
Name: jedt
Date: October 18, 2002 at 16:08:46 Pacific
Reply:

no unfortunatly, i can only cd c: it will go no furthur, and when i tried to delete from here it said path not found... could the network im on cause a problem at all? and if so what should i do? otherwise, do you have any other ideas?


0

Response Number 3
Name: tech-fred
Date: October 18, 2002 at 17:17:10 Pacific
Reply:

In DOS Box

cd \
cd "program files"
cd desktop
cd "my wallpaper"
del *.bmp

In Real DOS

cd \
cd progra~1
cd desktop
cd mywall~1
del *.bmp



0

Response Number 4
Name: VladTsyrklevich
Date: October 18, 2002 at 17:23:05 Pacific
Reply:

Yeah what tech-fred said should work... the first one deffinatly.


0

Response Number 5
Name: mkayman
Date: October 18, 2002 at 18:46:30 Pacific
Reply:

Curious if you can at least move it in windows. If so, move it to a directory with a short name (or just make a simple one, like "x"). Then go back to DOS and try again--less spaces, easier to type without a mistake, etc.

Of course, it would be logical to say that since you can't delete it in windows, it's most likely that you can't move it in windows either. Just a thought, that's all.


0

Related Posts

See More



Response Number 6
Name: Jedt
Date: October 18, 2002 at 21:52:48 Pacific
Reply:

For some reason i couldnt get it to work in dos (i'll still try it the new way, just for future info though).. and no i couldnt move it, so i moved all my other things out of that folder, to a new one, and then deleted the folder with that file in it, and that worked. then recreated the folder, and put the other files back in. Thanks for all your help though guys, really quick responses! I appreciate it.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: deleting a file

how do I delete a file anywhere on the disk? www.computing.net/answers/dos/how-do-i-delete-a-file-anywhere-on-the-disk/2273.html

delete a file using batch file www.computing.net/answers/dos/delete-a-file-using-batch-file/13939.html

help!! I need delete a file in sev www.computing.net/answers/dos/help-i-need-delete-a-file-in-sev/11303.html