Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

DOS help


  • Please log in to reply
4 replies to this topic

#1 JH1

JH1

  • Members
  • 26 posts
  • OFFLINE
  •  
  • Local time:08:09 PM

Posted 19 May 2013 - 04:35 AM

Hey guys, could someone please help me delete the folder say name Test under C:\window in cmd line. Since the folder Test under C:\window is set as read only. I got something like this

attrib -r C:\windows\test

rmdir /s /q C:\windows\Test,

but doesn't work, any help would be appreciated

 

Regards

JH1

 



BC AdBot (Login to Remove)

 


#2 cmptrgy

cmptrgy

  • Members
  • 1,617 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Massachusetts
  • Local time:05:09 AM

Posted 19 May 2013 - 05:14 AM

It's been a long time since I've done that but could it be rmdir C:\windows\Test /s /q



#3 JH1

JH1
  • Topic Starter

  • Members
  • 26 posts
  • OFFLINE
  •  
  • Local time:08:09 PM

Posted 19 May 2013 - 05:28 AM

thanks for ya help but no luck



#4 cmptrgy

cmptrgy

  • Members
  • 1,617 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Massachusetts
  • Local time:05:09 AM

Posted 20 May 2013 - 07:41 AM

It wouldn't surprise me if it doesn't matter whether its rmdir /s /q C:\windows\Test or rmdir C:\windows\Test /s /q but keep the order in mind in case it makes sense to compare them

--- Yep I'm pretty rusty in DOS but at least I'd like to see if I can be helpful

 

Are you sure the "Test" directory isn't a System File?

 

When you bring up the command prompt, are you calling it up as Administrator?

--- Maybe that makes a difference

I haven't made any comments about attrib -r but maybe it isn't needed if you are in as Administrator

--- Maybe the attemp to remove the read only attribute is interfering with the next step to be completed

 

What directory are you attempting to remove the "Test" directory from?

--- Try from one of the upper directories in the "Test" folders path

--- If you are in the C:\Windows directory, I imagine that the correct command would be rmdir Test /s /q

--- If you are in the C:\ directory, I imagine that the correct command would be rmdir windows\Test /s /q

I must admit If you not in one of those two upper directories, your command prompt should work but I would still try the direct upper directory just in case it makes a difference in your situation

 

I just looked up http://www.computerhope.com/rmdirhlp.htm the path makes a difference in Windows 2000 & XP v other OS's 

--- Check it out and see what you think



#5 JH1

JH1
  • Topic Starter

  • Members
  • 26 posts
  • OFFLINE
  •  
  • Local time:08:09 PM

Posted 25 May 2013 - 07:33 AM

Hey cmptrgy, sorry for my late response. I think that could sth wrong with my system but I have already sorted it out, thank you for your help :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users