How do I delete a specific sub-folder in C:\Program Files (x86) using Windows PowerShell? I want to delete the sub-folder and ALL of the child folders/files.
This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.
Open in new window
I've also changed to ticks to prevent PowerShell from trying to accidentally detect an expression in the string.