Search code examples
labview

Labview : delete files having same extension


I've been trying to delete files having same extension by using labview.

I am using delete.vi to delete files like below.

enter image description here

But, I want to delete all files having same extension.

Imagine a folder like below.

enter image description here

Here, I would like to delete all files having '.MASTER, .jou, .IFPDAT, . f06, .f04, .DBALL' as extension.

I would like to make an automatic file delete function like below.

enter image description here

Would there be any good examples?


Solution

  • The best way is to use "List Folder" with wild-cards (using "pattern" input) to get an array of files. Then you have to delete files one by one.