Hi all,
I have files that needs to be checked if it is existing in a folder. If it does not exist, a prompt will show which file names are not in my list. Here's a snippet of my code:
//Sample Data
dt = Open( "$SAMPLE_DATA/Quality Control/Diameter.jmp" );
New Column ("Machine Op", Character,
Formula
( "Machine_" || :MACHINE || " Op_" || :OPERATOR )
);
dt_list =associative array(column(dt, "Machine Op" ) <<get values) <<get keys;
//Files in folder
directory = "C:\Users\Desktop\Machine Operator Reference";
fileNames = Files In Directory( directory );<BR /><BR /><BR /><BR />/* if dt_list does not exist in fileNames, prompt data table with missing file */