Chems 0 Posted September 19, 2003 Share Posted September 19, 2003 What would I write in to delete a folder on my computer that is in documents and settings on my C drive that is called James. I know its Erase something blab blab but not sure what cause everytime I try it says cannot find file. Quote Link to post Share on other sites
Dannik 43 Posted September 19, 2003 Share Posted September 19, 2003 The command to delete folder is DOS/Command Prompt Mode is deltree. Usage: Microsoft Windows XP [Version 5.1.2600] © Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Nick>cd.. C:\Documents and Settings>dir Volume in drive C has no label. Volume Serial Number is 305B-13D5 Directory of C:\Documents and Settings 08/23/2002 11:09 AM <DIR> . 08/23/2002 11:09 AM <DIR> .. 08/23/2002 11:09 AM <DIR> All Users 08/23/2002 11:20 AM <DIR> User1 08/24/2002 05:03 AM <DIR> User2 08/19/2003 12:52 AM <DIR> User3 0 File(s) 0 bytes 6 Dir(s) 26,547,322,880 bytes free C:\Documents and Settings>deltree C:\Documents and Settings\User3 This would delete the folder "User3" and all files within. Quote Link to post Share on other sites
Chems 0 Posted September 21, 2003 Author Share Posted September 21, 2003 thanks dude Ill try it Quote Link to post Share on other sites
Dannik 43 Posted September 21, 2003 Share Posted September 21, 2003 I do have a question though. If the folder is in Documents and Settings, it sounds like it's part of a user profile. If it's part of a user profile and you want to get rid of it, I assume you want to get rid of the user profile itself, which would delete all that stuff in the Docs directory anyway. If that's what you need to do (delete the user) then why don't you just use the control panel's Users tool? Quote Link to post Share on other sites
Chems 0 Posted September 21, 2003 Author Share Posted September 21, 2003 I did delete the user, but not the file that went along with it. SO its stuck now private and I cant. My question now is thou, how do I get dos up? I write in run command, this right? Then 2, how do I get it to C:\Documents and Settings at the moment if I log in to command on mine it says C:\docum~1\James2 What do I do to get it back up to just document and settings. Ive tryed coming in in safe mode and then admin, but that has its own bit too like C:\docum~1\admin. Help please. Quote Link to post Share on other sites
Dannik 43 Posted September 21, 2003 Share Posted September 21, 2003 (edited) When you're at the prompt, type: C:\docum~1\James2>cd.. This will take you to the root Documents and Settings folder. C:\docum~1>dir This will list all files/folders in this directory. If the list is too long, try a wildcard, like dir j* for all files/folders starting with "j". Then, the deltree command can be used. In certain Windows versions, instead of deltree, rmdir can be used. Edited September 21, 2003 by Dannik Quote Link to post Share on other sites
Dannik 43 Posted September 21, 2003 Share Posted September 21, 2003 I think I found the problem. In Windows, right click on the folder in question, and select Properties, then Sharing and uncheck the Make this folder private checkbox (assuming it's checked, which this sounds like). Ok it, and you should now be able to delete the folder within Windows. 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.