キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

file diallog pattern

解決済み
解決策を見る

Hello

 

I have filenames in format: y%m%d%H%M%S.jpg  like 121102223344.jpg

I want to write pattern that will allow me to see only files writen only this format when I set path

 

I tried in that way

question.jpg

 

but I don't see resultats.... 

Is there a way to do that??

 

 

Any suggestions appreciated

 

0 件の賞賛
メッセージ1/5
3,089件の閲覧回数

You are expecting more than what you will get.  The only wildcard characters you can use are "?" and "*".  For more information, see the help file for the File Dialog.

 

The best you can do with the file name you have choosen to go with is *.jpg to just show jpg files.  If your files were something like 12345664324-pawhan11.jpg you could do something like *-pawhan11.jpg and then the file dialog box would only show files with that "-pawhan11.jpg" suffix.

0 件の賞賛
メッセージ2/5
3,088件の閲覧回数

Yes, I know that

 

so maybe there is  way to view files only with xxx.jpg where x is random number??

filename length is for example 3 and all strings are numbers.

0 件の賞賛
メッセージ3/5
3,085件の閲覧回数

Seems that I made that, but in "brutal" way:

 

bruteforce.jpg

 

But is there a elegant way to do that?

0 件の賞賛
メッセージ4/5
3,071件の閲覧回数
解決策
トピック作成者pawhan11が受理

I think that may be your only way because LabVIEW ultimatly relys on the OS API for the file dialog and that is where the limitation exists.  You would need to add every filename you want to the pattern seperated by ";" in order to only show those files.  I think your solution is elegant.  If you wanted to take it a step further, I think you would have to re-create the file dialog box in LabVIEW and not rely on the API (but I'm not sure I would call that elegant).

メッセージ5/5
3,059件の閲覧回数