Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

how do I delete a folder using cmd?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Chris Lee

Chris Lee

    Advanced Member

  • Member
  • PipPipPip
  • 329 posts
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.


How to remove advertisement from MSFN

#2
benners

benners

    Senior Member

  • Member
  • PipPipPipPip
  • 693 posts
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
I never let school interfere with my education

#3
Chris Lee

Chris Lee

    Advanced Member

  • Member
  • PipPipPip
  • 329 posts
Thanks, I got it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN