Hi all,
I have a list of filename. This list of filename is variable and change from to time. I want to match these file name to the files available in a directory. If match , open the files.
I write below code and run it. It does not work.
Need guidance here.
folder = "C:\savefile\";
filename ={"Jan", "Feb", "Mar"};
filelist= Files In Directory(folder);
For(i=1, i<= N items(filename), i++,
If (Contains(filename[i], "filelist"),
Open (folder || filename[i] ||".jmp"))
);