ok, new question now

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I delete files, or a whole folder (say...My Music, for example) using
the command prompt?
 
Type CMD on the Start-Run line and hit Enter,
Then type CD\ and hit enter to put you in the Root directory
and
type RD /S (name of Directory or Folder)
 
I'm not sure how the whole syntex would be but typing:Del
Plus whatever would do it.Type:Del /? For the list.
 
Jessica said:
How do I delete files, or a whole folder (say...My Music, for example)
using
the command prompt?

To delete all the files in a directory:
C:\documents and settings\yourusername> del *.* somefolder
To delete the directory:
C:\documents and settings\yourusername> rd somedirectory

*You must delete the files before you can delete the directory*

rgds
Robereto
 
format C: !! - bit over the top isn't it ?? bit like cracking a walnut
with a sledge hammer.
rgds
Roberto
 
Ok, this one won't work. You can't format the drive that
the system files are on unless you are booting from a
floppy. Kind of like sawing off the limb you are currently
sitting on. XP won't allow it. Now, I am hoping that you
were trying to be funny.
 
Shame on you,

If you are not here to offer *good* advice, then just have another Beam, and
watch some more QVC. I have the feeling you have some good advice to offer,
but you've yet to prove it.

Why, (the only reason I can figure), are you so *od Dam* mad at the world
,is that you don't have a pleasant bone in your body?

When I first started in these NG's, I was a moron, and I asked a lot of
incredibly *STUPID* questions, but they were all answered with respect, at
my current level of expertise, and I took the time to thank those that
helped me. Today, I consider a number of those my friends. I can't repay
them personally, but I can pass on what they've taught me. I do not have to
name them individually, they know who they are. Thanks guys and gals!

--
Curt BD-MVBT

http://dundats.mvps.org/
http://dundats.proboards27.com/index.cgi
http://www.aumha.org/
 
Roberto said:
To delete all the files in a directory:
C:\documents and settings\yourusername> del *.* somefolder
To delete the directory:
C:\documents and settings\yourusername> rd somedirectory

*You must delete the files before you can delete the directory*

rgds
Robereto

Correction Roberto. Use:

RD [directory name] /s

Steve N.
 
10:26 24-Jul-06 / Win XP General


Sorry to butt in but this sounds similar to my own problem. BTW,
doesn't look like (as "uncle grumpy" is apparently fatalistically implying;
like, why bother with the small stuff) it's so easy to remove some of
those folders, empty or not.

I will check out all solutions offered here soon but like to leave
my already prepared question here, as this looks to be the place.

Please read *carefully* (all is there) or you might get as confused as I:

:(

To whomever can help:

In my inherited computer, how do I remove the "Documents"
(home in "All Users") and the "Administrator's Documents" (home in

"Administrator") folders from the "My Computer" and/or
"Explorer Tree" views?

These are NOT shortcuts and they are NOT deletable, moveable or
renameable; but they are copyable. Think that "My Computer" is
supposed to show only the main drives and Control Panel.

///////////////////////// - DETAILS - ////////////////////////

Somebody renamed the "My Documents" (in "All Users") folder
to "Documents" long time ago. It also now appears down in the
Explorer tree and in "My Computer". Similarly, both views also
show an "Administrator's Documents" folder.

This "Administrator's Documents" folder is identical in content
to the "My Documents" folder (actually a "shortcut") I see at
top of Explorer tree, right under "DeskTop". It points to
"...\Administrator\My Documents". This "My Documents" shortcut
is apparently deletable (right click menu has "delete") but as this
is a "standard" name and location, I hesitate to delete it here.

I would like to remove just the "Administrator's Documents" and
"Documents" folders from the tree as these are confusing and
don't belong there. I've already moved all useful files in "Documents"
to "My Documents" folder and deleted the rest.

I'd also ultimately like to restore/rename "Documents" to
"My Documents" again in "All Users", which is impossible to do
right now (it might be, I suppose, if MS in it's infinite wisdom,
showed me where to get a FAT32 compatible type DOS boot disk
that can handle long names, like Windows; altho' it might work
with "...", assuming Win XP won't override anything later).

I can't do anything w/ "Administrator's Documents" folder as
it is undeletable and appears to be an exact duplicate(?) or
a shortcut (though it is NOT labeled so) to
"C:\Documents and Settings\Administrator\My Documents" folder.
The contents are identical. That is, they appear to be one and
the same folder, which seems logical.

No User Accounts have been created on this computer. This is a
FAT32 system and no folders have been "protected", as such. So
I assume "Administrator" and "All Users" folders are "inherently"
protected by Win XP Pro (SP2) - both at their usual locations
and at their redundant locations under "My Computer"..

I should note here also that the "Recyle Bin" had been replaced
with "Recovery Bin" (PowerQuest?). This appears to have
removed the "undo" facility in Explorer since it is made
redundant now but still would be convenient (maybe I'd
best try go back).


"All Users" had a share on it. I removed that and then tried
to delete the empty "Documents" folder first from Explorer Tree
and then from within "All Users" and also from "My Computer"
but Windows XP Pro says it's a "system folder" which can't be
moved, renamed or deleted. This makes me wonder why and how
it was renamed before.

I wonder if it could be de-attributed, or, manipulated via the registry.

However, the "C:\My Documents and Settings\Default User"
My Documents folder *IS* removable.

Thanks in advance,

---
DB/WW


+++++++++++++++++++++++++++++++

Steve N. said:
cut---
*You must delete the files before you can delete the directory*

rgds
Robereto

Correction Roberto. Use:

RD [directory name] /s

Steve N.
--
 
Back
Top