13
5
I have a drive filled with 1000's of files spread across hundreds of folders. I was using a sync program that created many placeholder files throughout the drive. I need to delete all the placeholders but leave the folders and other files intact. I am using Windows 7.
You could add the
/p
switch to prompt on every delete. That said, hittingy
enter
over and over again gets old fast. – PerryC – 2016-01-16T20:48:51.407@LarsHoldgaard: The "short name" version of the filename for those ASPX files likely does have an ASP extension. – Ben Voigt – 2016-06-13T14:04:57.323
Powershell:
ls *.wlx -Recurse | foreach {rm $_}
– Kolob Canyon – 2017-01-19T00:37:28.7201If I have files called "ASP" and "ASPX" and runs this, it also deletes the ASPX pages... Just saying - its not the "specific" extension – Lars Holdgaard – 2014-02-03T09:21:36.737