- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Microsoft
- >
- Powershell command equivalent to deltree /y ?
Operating System - Microsoft
1822158
Members
3494
Online
109640
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 10:20 AM
тАО02-17-2009 10:20 AM
Hi All,
I cannot find for the life of me a command equivalent to deltree /y we used to use back in the old days.
there's
rd /s
etc... but it always states that it cannot delete a folder if it is not empty.
How do you delete (through command-line) a folder that is not empty in DOS on server 2008? or if you have a vbscript etc..
I cannot find for the life of me a command equivalent to deltree /y we used to use back in the old days.
there's
rd /s
etc... but it always states that it cannot delete a folder if it is not empty.
How do you delete (through command-line) a folder that is not empty in DOS on server 2008? or if you have a vbscript etc..
Si tu n'as pas ce que tu aimes, aimes ce que tu as.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 01:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 01:19 PM
тАО02-19-2009 01:19 PM
Re: Powershell command equivalent to deltree /y ?
And...
DEL /F /S /Q foldername
Still works.
Power Shell
Get-Help Remove-Item -full
Remove-Item C:\Windows -recourse
Should delete all files and remove all sub-folders within the Windows folder.
Jon
DEL /F /S /Q foldername
Still works.
Power Shell
Get-Help Remove-Item -full
Remove-Item C:\Windows -recourse
Should delete all files and remove all sub-folders within the Windows folder.
Jon
"Do or do not. There is no try!" - Yoda
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP