Rocky 1,224 Posted September 6, 2003 Share Posted September 6, 2003 So, say I have a file at c:\home movies\this is a very-large move.avi How do I delete that from WinXP in dos? What is the exact command line? Thanks nerds. Quote Link to post Share on other sites
NightCrawler 137 Posted September 6, 2003 Share Posted September 6, 2003 In DOS?! I would probably be doing it wrong but this is what I would do...navigate to the directory and type in del this is a very-large move.avi This is the way it was done back in the dos days, now days I would just navigate through the C:/ drive to the file and right click and delete. Quote Link to post Share on other sites
Rocky 1,224 Posted September 6, 2003 Author Share Posted September 6, 2003 ...navigate to the directory and type in del this is a very-large move.avi That's what I need - the command line for changing directory and deleting with names longer than 8 characters and with spaces. Remember that the filename will be different because of it's length. Quote Link to post Share on other sites
NurFACE 0 Posted September 6, 2003 Share Posted September 6, 2003 http://www.easydos.com/dosindex.html http://www.computerhope.com/msdos.htm Quote Link to post Share on other sites
Rocky 1,224 Posted September 6, 2003 Author Share Posted September 6, 2003 Nice links NurFace, but I still can't see how to name a file in dos that has more than 8 characters in windows. Quote Link to post Share on other sites
Rocky 1,224 Posted September 6, 2003 Author Share Posted September 6, 2003 When I type > cd home movies I get a "too many parameters - movies" error Quote Link to post Share on other sites
Rocky 1,224 Posted September 6, 2003 Author Share Posted September 6, 2003 yehhhhhhhhhh! At last the file is gone. The correct syntax was cd homemo~1 I.E. ignore the space in home movies, use the first 6 characters only, and append "~1" Easy when you know how, tx for those links. Quote Link to post Share on other sites
NurFACE 0 Posted September 6, 2003 Share Posted September 6, 2003 No problem. I figure with links you can get it sorted out on your on. I was trying to get my game face on with grnet server. Quote Link to post Share on other sites
Syncopator 0 Posted September 6, 2003 Share Posted September 6, 2003 That's funny...I was just about to post this very same question... Ahh well..I have my answer...cheers! @Rocky - you weren't having probs with a (ignoring legalities here) divX avi file downloaded by P2P (in my case Kazaa), were you? Just I got this weird movie file that will not delete thru windows...was just wondering.... Quote Link to post Share on other sites
Dannik 43 Posted September 6, 2003 Share Posted September 6, 2003 There's another shortcut as well. Let's say you have a folder with the following files in it:movie.avimoving day.docmoose.gifTo delete the AVI, you could type >del movie* To delete the AVI and DOC, type >del mov* To delete all three, type >del m* Wildcards. Gotta love `em. Quote Link to post Share on other sites
Rocky 1,224 Posted September 6, 2003 Author Share Posted September 6, 2003 There's another shortcut as well. Let's say you have a folder with the following files in it:movie.avimoving day.docmoose.gifTo delete the AVI, you could type >del movie* To delete the AVI and DOC, type >del mov* To delete all three, type >del m* Wildcards. Gotta love `em. Well thats is actually what I did. The file name was huge, so I didn't want to faff around figuring out how to type it in, and I get really scared typing *.* when deleting, so I just did del *.avi. It worked, I even checked that windows clocked the delete by checking the drive space, and everything was fine. Quote Link to post Share on other sites
Rocky 1,224 Posted September 6, 2003 Author Share Posted September 6, 2003 @Rocky - you weren't having probs with a (ignoring legalities here) divX avi file downloaded by P2P (in my case Kazaa), were you? Just I got this weird movie file that will not delete thru windows...was just wondering.... No no, it was not a divx movie download through Kazaa! I can say with a certain degree of certainty that my solution as described above, will also solve your problem. Quote Link to post Share on other sites
Super-Bob 0 Posted September 6, 2003 Share Posted September 6, 2003 If you ever want to see a short filename in a prompt just enter "dir" and you'll see the listings. Quote Link to post Share on other sites
BlueRose_76 0 Posted September 6, 2003 Share Posted September 6, 2003 Oh yeah, oldschool dosprompts. If its a directory with lots of files, try 'dir\p', or 'dir\w' Quote Link to post Share on other sites
Syncopator 0 Posted September 6, 2003 Share Posted September 6, 2003 I can say with a certain degree of certainty that my solution as described above, will also solve your problem. Sorted. Cheers! *I have no knowledge of any video file that was on this hard drive...no recollection of those evnts whatsover. Sir!* Quote Link to post Share on other sites
Sgt. Slaughter 0 Posted September 7, 2003 Share Posted September 7, 2003 *I have no knowledge of any video file that was on this hard drive...no recollection of those evnts whatsover. Sir!* Your hard-drive does! Quote Link to post Share on other sites
MarkVanDamme 0 Posted September 7, 2003 Share Posted September 7, 2003 Rocky, try using your command (with more than 8 letters) as before, but enclose it in quote marks. Quote Link to post Share on other sites
Rocky 1,224 Posted September 7, 2003 Author Share Posted September 7, 2003 Yeh I tried the quotes but it didn't like it. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.