Archive: Delete all files without config files


Delete all files without config files
I install a complete folder with the following command

File /r "Install Files\*.*"

With the Uninstaller I want to delete all files without *.config. Who can I do this?


rename c:\*.config d:\*.config
delete c:\*.*
rename d:\*.config c:\*.config


You should really be using Locate or RecFind to delete your files if they don't end with .config

Stu


and people really shouldn't be using a command that wipes the C: root as example code :x


Originally posted by Afrow UK
You should really be using Locate or RecFind to delete your files if they don't end with .config

Stu
Can you give an example code?