Open file using wild cards

does anyone know how to open a file using wild cards in the name.
For example, a certain folder will contain a number of files, with the name constructed as follows:
CALDB_ then a 6 digit serial number, and then 14 characters which could be ANYTHING.  so it might look like this
CALDB_123456_33KA1234567890.txt
or
CALDB_123457_33KA1234567890.txt
The key part of the file name is the 6 digit serial number which is unique, and the CALDB_ which is always the same.
I would like to use a file open command with the file name something like  CALDB_123456_*.txt, but it doesn't appear to work. 
Can anyone help?
Thanks
Solved!
Go to Solution.

Hi Dylan,
I have been searching along our forum, and found a similar question for using wildcards in selecting files. An active user (unclebump) replied on this request with a VI, with which you can select a folder on your computer which is scanned for certain files. I've adjusted this VI for selecting the CALDB_* files. Enclosed you will find this file (zipped) including my test folder.
Maybe this will be helpfull for your application.
Best regards,
Peter Schutte
Message Edited by Peter S on 10-14-2008 03:22 AM
Attachments:
File selecting.zip ‏12 KB

Similar Messages

  • Set Bookmark Open Options to Open File with Wild Cards

    Hi there Guys. I need help with something. I work on manuals with various table of contents that contain bookmarks and a lot of them are basically cookie cutter.
    Here is what I am wondering:
    The bookmarks are in numerical order and need to link to an individual PDF
    file in the same folder:
    Example:
    Bookmark 1: "1. Office Hour Files for ABC company dated 10/01/07." needs to link to a file called "Office Hour Files for ABC company dated 10/01/07.PDF".
    Bookmark 2: "1. Healthcare Benefits for ABC company dated 09/30/07."
    needs to link to a file called "1. Healthcare Benefits for ABC company
    dated 09/30/07.PDF".
    ETC.
    Also, the file names -- not the bookmark names -- need to be shortened to 75 characters or less most of the time due to cd burning software. So soemtimes (or most of the time) the file name is much shorter than the original bookmark name.
    Is there code that I can use to batch process the Table of
    Contents file to find bookmark in TOC file that starts with "1. [bookmark name]" and open file the corresponding file in the same folder that starts with "1. [truncated bookmark name].PDF"
    then
    with "2. [full bookmark name]" and open file that starts with "2.
    [truncated bookmark name].PDF"
    and so on maybe through
    with "200. [full bookmark name]" and open file that starts with "200.
    [truncated bookmark name].PDF"
    THANKS SO MUCH... ANY HELP AT ALL WILL BE AWESOME. Also, let me know how
    much it would cost if you know someone who could write the code for me.
    PS: I can use ARTS-PDF software for batchprocessing. I use Acrobat 5.0.
    I really have no reason to upgrade for my purposes, but will if needed. I
    use a lot of keystroke features in 5.0 that are easier to use than in the
    later versions.
    later!!
    THANKS AGAIN!!!!! BE WELL
    KEN

    Hi Dylan,
    I have been searching along our forum, and found a similar question for using wildcards in selecting files. An active user (unclebump) replied on this request with a VI, with which you can select a folder on your computer which is scanned for certain files. I've adjusted this VI for selecting the CALDB_* files. Enclosed you will find this file (zipped) including my test folder.
    Maybe this will be helpfull for your application.
    Best regards,
    Peter Schutte
    Message Edited by Peter S on 10-14-2008 03:22 AM
    Attachments:
    File selecting.zip ‏12 KB

  • How to use wild card with variable in powershell

    HI
    i am trying to use wild card with variable but getting an error message, "You cannot call a method on a null-valued expression."
    $src = 'C:\Temp'
    $TabletzipPath = $src + "tab*.zip"
    i would like to copy the tablet zip file which is placed in in $src to be copied in $TabletzipPath.
    i am using tab* because this file name changes continuously. so if i give a fix name for example tablet1.zip than it works fine.

    Not sure if the wildcard will work without seeing how you're using the variable.
    That said, I can say that it looks like you're missing the backslash between the $src path and the wildcard filename. As-is the above code assigns a value to $TabletzipPath of "C:\temptab*.zip" instead of what you are likely expecting ("C:\temp\tab*.zip")
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Using wild card with Captivate 5 ( fill in the blank)

    I am training software package that requires many fill in the blanks besides the login screeen.  If I were to recording the actions using Captivate 5 record, I think,  I can only use a demonstration recording as oppsed to having my students interact with the product by filling in the blank. For example, my product asks for a login. When I login to demonstrate how it should be done, the product reponds correctly.  By my student is limited to watching as opposed to interacting.  While login is not such a big deal, there are several other areas where the same concept applies.  Ideally, I wish to use wild cards in fill in the blank so that any name or information can be used to interact with Captivate and move the slide along.    Is this possible, and if so, how?

    I think Lilybiri may be misinterpreting your use of the term "wildcards" to mean using them in the programming sense.
    Perhaps you are referring to the characters that appear in a typical Password field to hide what the user is actually typing?
    If so, the text field object in Captivate has an option to use these password characters so that the user's typing characters are hidden.  The characters used are asterisks, which are what some people refer to as wildcard characters.

  • How to open files using cmd command?

    Hello... First:
    try {
    Process p = Runtime.getRuntime().exec("cmd.exe ?????");
    catch(Exception e){ }well... I'm trying to open files using a cmd command. It's working only oppening files on my own pc, but i need to know if i can open files using a localweb's pc, with the follow address, for example:
    "\\172.21.0.4\firstdir\seconddir\thirddir..."
    Thanks :D

    Gamboua wrote:
    normaly, i type \\172.21.0.4\dir\dir\dir... directly directly in my cmd.This only works because you are already running cmd.exe
    Try getting it to work with cmd.exe at the start of the line.

  • Question about openning files using SDK 10.

    I have written a Plug-In for SDK 9 that works wonderfully. One of the functions is for the user to be able to page (Next/Previous) between PDF files on our server. This functionality now longer works without crashing Acrobat 10. All I am doing is creating the URL path to the next/previous PDF, creating a CustomFileSys with the path and calling AVDocOpenFromFile.
    Does this no longer work with Acrobat 10 SDK?
    Thanks!

    Should work fine, AFAIK.
    For this level of issue, I would open a formal support request with developer support.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 10 Oct 2011 08:51:08 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Question about openning files using SDK 10.
    Question about openning files using SDK 10.
    created by Greggars<http://forums.adobe.com/people/Greggars> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3963065#3963065

  • Reproducable program locks when opening files using finders "Today" filter

    Hi,
    I am experiencing lockups (have to force quit the programs - which works) in different software products when I try to open files using the "Today" smartfilter from finder / the open dialogue. This wil happen when I attach files to websites using a file-input in Safari as well as with Photoshop just to name an example. It happens every time. Don't know why - and sure, I can avoid using a workflow like this - but I think this is not normal.
    Anyone else experiencing these problems? Seems to be related to snow leopard since I do not remember having had these issues in the past.
    The filetype does not seem to matter. It happened with PDF's, Jpg's, PSD's, etc.
    Message was edited by: jmueller

    RollingRocker, did you ever get a solution for this? I am having the same problem. I produce a pdf using a JSF third party api called flying saucer, which actually uses itext to produce the pdf. I can attempt to produce the same exact pdf over and over and about 85% of the time the error occurs and the rest of the time the pdf opens successfully with no error. Obviously 15% of the time the reader is completely happy with this pdf, so it is not a malicious document in any way.

  • File adapter wild card not working

    Hi Gurus,
    My file adapter seems to have issues with me
    This adapter do not obey me when I specify wild cards. I have tried * , ? and also "Adavnced selection of source file" but no use. Although, he is a perfect gentleman when I specify complete file names.
    Could you please suggest how to tame him?
    Regards,
    AV.

    Hi,
    this is what SAP Help says about it:
    file.sourceFileName=<filename>
    Specify the name of the file that you want to process.
    The name can contain a placeholder (*) at any point, so as to be able to select a list of files for processing.
    The following are valid examples for filename:
    myFile.txt
    my*.txt
    *.txt
    File.
    File.*
    myle.
    Names that comprise more than two parts are also permitted.
    Hope it helps.
    Regards
    Patrick

  • HELP What app. do I need to open files to SD Card

    null
    Post relates to: Tungsten E2

    Hi, and welcome to the Palm Community Forums.
    I'm not sure what you mean, but if your question is how do you open files which are stored on your SD card, it depends on what type of file it is.  If it is a Palm application, you should see it listed in the Category list from the application launcher (Home) screen.  If it is a document, Documents To Go can find all compatible documents.  If it is a database for a Palm application, it will depend on that application as to whether, and how, it can access the file.
    If what you want to do is to view the files that are on your SD card, use the free file management utility FileZ.
    Please be more specific in what it is you are trying to do.
    Post relates to: Centro (AT&T)
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • How to use wild card character in input field

    Hi
    I'm creating model in which the Purchase Order information need to be entered in Input Field.
    My requirement is search using wild char char as '*'
    Let say in input field  i gave PO order as 20* then it'll search for all the PO's which starts from 20.
    Could you please share some documents/guidelines, for this issue
    Thanks and Regards
    Puneet

    Hi,
    You can use the wild card char in the input box.please try  below steps.
    1.Check whether the input string has ' * '  char using "CONTAINS(text,pattern)" operation.
    2.If yes, Replace the ' * ' with space by "REPLACE(text,pattern,repstr)" operation.->consider this result as input2
    3.Now , Have a Filter from ur webservice(which gives your Purchase Order information )
    and filter it by the condition " BEGINS(WSField,input2)"
    the Final expression in the filter will be "_=IF(CONTAINS(input,""),BEGINS(HelpWSField,REPLACE(input,"\","")),true)_"
    Hope it helps.
    Regards,
    Priya
    Edited by: priya on May 20, 2009 12:49 PM

  • Error when opening files using SMB server

    I’m trying to download files using a Windows SMB server, but it does not work properly. I'm using a VPN connection to access the server. I already added smb protocol in my system preferences (using 'more internet'), but when I’m trying to open a file, the following error message (code 36) appears:
    The Finder cannot complete the operation because some of the data in smb://........ could not be read or written.
    The Console gives the following error message:
    mount_smbfs: can't get server address `……:
    Unknown host
    mount_smbfs: can't get server address: syserr = Network is down
    Does anyone know how to solve thed error? Thanx in advance!
    iBook G4   Mac OS X (10.4)  

    This has been bugging me. Typically, the FileOpenClient error would include the name of the "client" referenced by the FileOpenClient parameter in the ditafm.ini file (I don't think it really does anything, but that's not the point). In this case it's not indicating the name of the client. After some testing it looks like FM10 (probably FM9 as well) prints this error along with the message about being unable to open a file. I have a feeling that it's just a bogus error message. However, the message about being unable to open the file is real.
    Note that there is a difference between being unable to "open" of "locate" a file .. you'll see different messages in each condition. This (and the message from M_Boyd) are "open" errors. Off hand I don't know why. Try manually opening the file specified and see if you get any errors. I've not been able to replicate the "open" error (just a "locate" error) even when I corrupt the target file so it is invalid XML. When I do this, the xref does not properly resolve, and it *does* add significant time to the time it takes to open the referencing file .. but I'm not getting any errors written to the console for this .. strange.
    Also note that the error says "Unable to resolve link" .. this means a "link" element is the referencing element, as opposed to an "xref". If it was an xref it would say "Unable to resolve xref".
    Bottom line .. don't worry about the FileOpenClient error .. I think it's just bogus. But there is some reason that FM isn't able to open your referenced files. I'd strip out all of the references and start over with just one .. make sure it works before adding more. The simpler you can keep the directory structure the better.
    Cheers,
    ...scott

  • Bridge Opens files using Windows Photo viewer - not Photoshop CC.  How do I change default?

    Bridge opens image files using Windows Photo viwer - not Photoshop CC.  This is an utterly useless default setting.  How do I get Bridge to open a file in Photoshop?

    Edit/preferences/file type association.  Set extensions to prefered default.

  • Opening files using a script...

    Every time I use the "open" command in applescript, I get the message "cannot get file." How do I open files with a script?

    Your usage of documents folder in this case is incorrect. They are reserved words, but as part of *Standard Additions'* path to command. The Finder is expecting a file path, so try this instead:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #DAFFB6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Finder"
    open every document file of (path to documents folder) whose name contains searchtext
    --where searchtext is text input from the user
    end tell
    </pre>

  • LaTeX cannot open files using reader 9

    For some reason LaTeX and adobe reader 9 don't get along.
    Normally, I code my document in Latex, hit compile, and it makes the pdf and has reader open the document for viewing.
    However, after updating to reader 9.3 I started getting error messages saying the document could not be opened every time a document compiled.  The documents still compiled, and I could still go and open the document in reader manually, but for whatever reason reader and Latex could no longer communicate.
    I solved this problem by rolling back to adobe reader 8.11.  The problem persisted in reader 9.2, 9.1 and 9.0.

    What browser are you using? Are you positive that they are PDF files? If so, do you have a link we can look at?
    Typicaly, if they really are PDF fies, that's the only option you get when you use fie>save as. If they're just web pages, you get the options that you mention.

  • Excel 2013 will not open file using double click

    I have a problem with Excel 2013  running on Windows 7 Pro (64). When double clicking an Excel file from Windows Explorer  Excel launches but opens a blank worksheet and shows me an error message (german: sinngemäß: "die Weitergabe eines anderen
    Programms ist gescheitert"). The only way to view the document is by opening Excel and browsing to the saved file.
    I have read similar forum entries which address this problem in older versions of Excel. I have tried every solution but none of them worked.
    I already added the registry setting for shell open and set the Ignore Other Applications that use Dynamic Data Exchange (DDE) (unchcked).
    The problem still persists. When I first installed Office 2013 it all worked fine. I believe the problem occured after installing Project 2013, but I am not quite sure about that. Reinstalling Excel did not help.
    I´d appreciate any help,
    Regards Stefan Hassel

    Hi,
    Check the following steps:
    1. Make sure that Excel is not running (exit the program).
    2. Click the Start button to displays the Start menu.
    3. From the Start menu, choose Run. Windows displays the Run dialog box.
    4. In the Open box, enter the full path name to your Excel program, followed by the /regserver switch. If the full path name includes spaces, surround the full path name by quote marks. The following is an example of what you can enter in the Open box
    (your path may be different):
         "c:\Program Files\Microsoft Office\Office\Excel.exe" /regserver
    •  Click OK.
    Jaynet Zhang
    TechNet Community Support

Maybe you are looking for

  • Static text in ALV Report

    Hi, I have a requirement to create an ALV report which has to display some static text on each page. In the format below, the line item texts and sub total texts will be the same for each page. Each page displays data for one company code. The compan

  • Suddenly my external hard drive is not read!?

    This hard drive is not one year old yet, and was working perfectly fine till yesterday. Last night I just updated my ios and moved from mobile me to icloud. Suddenly this morning when I connected my eternal drive, the computer doesn't read it, even i

  • HT5527 Why can I not share files anymore now that MobileMe is gone?

    Previously, I could send large files to clients via links with MobileMe. I cannot find how to do this anymore. Is this option still available?

  • Message boards (part 2)

    Hi there again, thanx for the last reply, but i'm new to this programming game and was wondering how to create a login mechanism, search mechanism and post mechanism?? maybe just the basics?? thanx

  • Anyone using Office Xp with GW7.02???

    I'm having a probelm with Excel loaded documents are BLANK !! Also messes up with LOCAL Excel file Opens with Office 2003