Skip to content
⌘ NSIS Forum Archive

Delete all files without config files

5 posts

phunkydizco#

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?
Afrow UK#
You should really be using Locate or RecFind to delete your files if they don't end with .config

Stu
Animaether#
and people really shouldn't be using a command that wipes the C: root as example code :x
phunkydizco#
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?