Jump to content

Recommended Posts

Posted

Another possible one liner: (Untested - This may name the offending folder to HexA0)

ForFiles /C "Cmd /C If @IsDir==TRUE (If @File==0x220xA00x22 Ren @File HexA0)"

It may in your case not even need to check whether or not it is a directory:

ForFiles /C "Cmd /C If @File==0x220xA00x22 Ren @File HexA0"

Or to remove the offending directory:

ForFiles /C "Cmd /C If @IsDir==TRUE (If @File==0x220xA00x22 RD/S/Q @File)"

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...