MSFN Forum: how do I delete a folder using cmd? - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

how do I delete a folder using cmd? simple simple question Rate Topic: -----

#1 User is offline   Chris Lee 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 329
  • Joined: 30-January 04

Posted 19 February 2004 - 10:30 PM

What DEL command would I use to delete a folder which is behind \%allusersprofile%\start menu\programs\ ?

I searched the forums, 11 pages of results...Any help on this would be good, thanks.


#2 User is offline   benners 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 692
  • Joined: 29-December 03

Posted 19 February 2004 - 10:51 PM

to remove a folder you would use RD not DEL
rd /s/q "%allusersprofile%\start menu\programs\games"

the rd stands for remove directory
The /s switch is for all sub directories and files in the dir
The /q switch is for quiet mode, which means it wont ask you for confirmation

#3 User is offline   Chris Lee 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 329
  • Joined: 30-January 04

Posted 20 February 2004 - 12:15 AM

Thanks, I got it.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy