多个文件导入 - 名称过滤器问题和/或大家好,
我有一个包含 .jmp 格式的测量数据的文件夹。通过 JSL 和多文件导入,我定义了一个搜索字符串,它只应打开具有该字符串的文件。这是我的脚本的这一部分的样子:
searchstring="202112*;*322958*";
dt_raw=Multiple File Import(
<<SET folder=""></SET>
Unfortunately, It opens data containing the first string OR the second string instead of the first string AND the second (what I need). Is there a way to define the search string that it opens files with the first AND second string?
Edit: The files I'm importing look like this: 202112041419_9301_007_322958_P_11217400_11217397_11217404_11217402_raw.jmp and differ in length and position of my search string from file to file.
Best, Christian
<LINGO-LABS id="lingo-labs-442598" slang="en-US" mode="UPDATE"><LINGO-LABEL>数据存取</LINGO-LABEL></LINGO-LABS>回复:多个文件导入 - 名称过滤器问题和/或谢谢你们俩@Craige_Hales和@txnelson .它工作完美。
谢谢,
基督教
回复:多个文件导入 - 名称过滤器问题和/或是的。 MFI 名称模式中可以有两个特殊字符,?和 * 。 这 ?正好匹配一个字符,* 匹配零个或多个。 匹配这样的名字
202112041419_9301_007_322958_P_11217400_11217397_11217404_11217402_raw.jmp
对于 202112,然后是 322958,您可能会使用
202112??????_*_???_322958_?_*_*_*_*_raw.jmp
如果您想真正非常小心接受什么。 或者,根据格式的可变性,将其一直放宽到 Jim 的建议。
回复:多个文件导入 - 名称过滤器问题和/或我相信您要使用的搜索字符串是
searchstring="202112*322958*";