MS-DOS Commands

  • Thread starter Thread starter Davey
  • Start date Start date
D

Davey

if i want to delete a folder with the name "New Folder"
through ms-dos, with the path
"c:\documents and settings\mom\desktop\new folder", how
would i be able to delete it because when i try with the
command
RD c:\documents and settings\mom\desktop\new folder
it won't let me delete it because it thinks that "new"
and "folder" are different folders. if you could, please
e-mail me back with a helpful answer.

-Davey
 
Dave -
It may not recognize the space between new-and-folder as
you typed it. But why are you trying to do this with a
DOS command? Is there some reason you can't get this
done with Windows Explorer?
z -----------------------------------------------------
 
If you're trying to do something like that through the command prompt,
you'll need to enclose the folder or file name in quotes, like:

RD "c:\documents and settings\mom\new folder"
 
Davey said:
if i want to delete a folder with the name "New Folder"
through ms-dos, with the path
"c:\documents and settings\mom\desktop\new folder", how
would i be able to delete it because when i try with the
command
RD c:\documents and settings\mom\desktop\new folder
it won't let me delete it because it thinks that "new"
and "folder" are different folders.

Put it in quotes - just as you did above. And in XP I would use the
/S switch to do it so as to delete the whole tree under it - probably
irrelevant if this is a new empty one, but might matter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top