LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Check for existing directories

Hallo,

I write files in a specified directory. How can I check if it already exists? I haven't found a suitable VI in LabVIEW 6.1.

I want to have the following Programm:

Check if directory exits.

-> Case "NO": create it and continue.
-> Case "YES": Warning: Dir exists. Ask for deleting it
-> "YES": Delete it and continue
-> "NO": Don't delete and stop program.

I'm very thankful for help !!

Arno
0 Kudos
Message 1 of 2
(2,516 Views)
Look for List Directory function in Functions pallete>>File IO>>Advanced>>List Directory or you can search for list directory function in your functions pallete.
0 Kudos
Message 2 of 2
(2,516 Views)