How do I use a wildcard to call a set of files?

I had this vi working once and now I can't recreate it.  I have a folder with an ASCII file of temperature readings from each day of the month.  The filename consists of the date and time.  I want to recall each file in a loop and find the maximum value in three of the columns (that all works).  My problem is that even though the date portion of the filename is easily found, the time stamp could be anything.  So, a created a path that includes the drive, the folder, and the subfolder (the month of the year).  Then I appended from the loop the day of the month.  I am using an asterisk '*' as a wildcard.  The vi does not like it.  If I strip off the time portion of all of the filenames, it works fine.
Example of a file name : Q:\APR\2010\1_2010\1_22_2010 60719 AM     - Type of file is a Text Document
Example of using a wildcard: Q\APR\2010\1_2010\1_22_2010*
It's at the end as people on this board have suggested.
Attachments:
Monthly Gas Test VI.vi ‏186 KB

Does the list function require interaction by the user?  I was hoping to avoid that.  I'll check it out.  Thanks.
Ron

Similar Messages

  • Jabber for Window, phone mode, how to disable "use my computer for calls"

    We have a Citrix environment and only want to control the Cisco deskphone with Jabber for Windows in the phone mode.
    We use CUCM 8.6.2 and I have installed Jabber for Windows 9.7.0 and all works fine, I can control my deskphone, make and receive calls, phonebook and Outlook integration works fine.
    Is it possible to disable "use my computer for calls" as we do not want users to make calls via Citrix, but only use the deskphone for this.
    Thanks, Perry

    Hi Matthias,
    Soft-phone mode cannot be disabled. Supported Features on Virtual Environment are the following.
    Supported Features
        Instant messaging and presence with other Cisco Jabber clients
        Desk phone control
        Voicemail
        Presence integration with Microsoft Outlook 2007, 2010 and 2013
    We have an existing defect which is in Terminated state because feature is not supported hence cannot be fixed.
    CSCub40605 - J4W - Ability to disable softphone mode in Citrix environment.
    HTH,
    Please rate if you find this post helpful.
    Regards,
    Mohammed Noor

  • How do you use a specific program to open a specific file in java?

    I want to use java to create a program that users get to pick what programs to open a file with and then opens it. For example, the user wants to open a .txt file. We all know that many programs can open that- MSWord, Textpad, Notepad etc. What i want to do is automatically open the file the user chose in a program that he chose. If the user wanted MSWord to open the .txt then MSWord will startup and the user should see the file. Samething applies for other programs. Anyone know how to implement this in java? I know you can open executibles but these arent those types... Thanks!

    And then you still need - at least in Windows - register all of your files to be opened with your program so it can relay that call.
    Frankly, I think I'd hate your program, ahving to make a chioce every time I want to open a file... I mean, how often does it happen that you want to open a file with any other program than the one you usually use? And Windows still has the "Open with..." dialog as well, if I really want to pick something else.

  • How can we use Time Capsule as a server to access files from remote locations?

    I use Timecapsule to save my data but I would like to use it as a server to access my file when I'm not at home. Is it possible?

    Please take a look at Apple's Back to My Mac (BTMM) features here:
    Set up and use Back to My Mac - Apple Support
    There is another method that you can use, but it would require the following:
    1) A static or fixed Internet connection IP address from your Internet Service Provider
    2) The Time Capsule, or another Apple router must be the main router for the network

  • How to make use of values in calling program in a badi

    Hi
         I have a badi implementation. i need to make use of some values in the program in the BADI. how do i access values in the program in the BADI.
    Regards,
    Chaitanya

    You can try this:
    E.g (replace the table and program names with the one you need).:
      CONSTANTS: c_resbd(15) TYPE c VALUE '(SAPLCOIH)resbd'.
      FIELD-SYMBOLS: <fs_resbd> TYPE resbd.
      ASSIGN (c_resbd) TO <fs_resbd>.
    If this doesn't work try exporting the variables you need to memory from a field/user exit.

  • How can we use K900 for video call over wifi or 3G

    Do we have video calling feature like samsung provides over 3G or wifi? I dont see any option while dialing a number.
    thanks

    @vinashar,
    I would recommend 3rd party apps such as Line or Skype for video calls ... As for future plans to implement video calls in the Lenovo dialer, I am not sure.
    Thanks
    *Non Lenovo employee*
    I have a Y2P (i5) ... Feel free to ping me if you want me to test some applications with your Y2P if you have the same model. I don't mind keep doing recovery on it if needed .... =)

  • How do I use the containing folder's name to rename files on export

    I'm trying to write a script that takes the folder name that the active document resides in and uses it as part of a new name.
    So, let's say I have a file called "strawberries.jpg" that is 1000x1000px and resides in a folder called "good-fruit". I want the script to export the final file as a TIFF like this:
    good-fruit/good-fruit-strawberries-1000x1000.tiff
    Thus far, I've managed to use alerts to figure out how to grab document name, beginning size, current folder path:
    var doc = app.activeDocument; var dirName = doc.path; var cropWidth = doc.width.as('px'); var cropHeight = doc.height.as('px'); alert("This document is " + doc.name + " and is " + cropWidth + "x" + cropHeight + " and resides in: " + dirName ); 
    Which results in an alert that says: This document is strawberries.jpg and is 1000x1000 and resides in: ~/Desktop/Folder/good-fruit/
    But I cannot figure out how to cut off the beginning of doc.path (i.e. ~/Desktop/Folder/) so I can just add "good-fruit" to the final name. I also can't figure out how to insert "good-fruit" before the extension of the image.
    Thanks for any help!
    Joe

    It is regular expression and yes it is use for pattern matching. The forward slashes are used to start and end the expression when it is create this way( literal ). Another way to create one would be to make an explicit declaration var re = new RegExp('\.[^\.]+$').
    Some chars in regular expressions have special meaning. The dot char normally means match any char. The blackslash is used to escape that special meaning so \. means match the dot char. The [ and ] are used for char sets. Those are normally used when you only want to match specific chars [aeiou] would match any English vowel. The ^ used inside the brackets means 'not' so [^\.] means match any char that is not a dot( or any char except an dot ). If used outside of brackets the ^ char means at the start. The + means match the preceeding one or more times. In this case match any non dot char one or more times. The $ means at the end of the string.
    So putting that althougher you have 'match a . followed by one or more chars at the end'.

  • How do I use copyprofile, image manager and create a wim file to Sysprep a reference Windows 8 computer.

    Im trying to deploy a reference machine (configured) to other machines (exact or close image) with different hardware.
    I have successfully used sysprep in out of the box, generalise, shutdown mode although i havent tried to deploy this to another device.  Unfortunately it doesnt copy the profile to default.
    I understand that I have to create an answer file using image manager based on that image, save it to a usb drive and attach this in the sysprep command line when sysprepping it.
    My problem is I dont know how to easily capture an image of windows 8 into a wim file so that i can add this into image manager to create a answer file.  Im also not sure what I have to do in image manager, is it a simple matter of creating and saving
    the answer file or do i have to configure it to copy the profile specifically (theres only one account anyhow).
    I also want to know if i have to attach the drivers or are all the standard drivers put into the sysprep image as standard.  I would like the machine to be an exactly replica, same as doing a clone (but with the drivers for the new machine installed
    so it will boot) same as doing a clone and then repair? If thats possible.
    Any specific instructions on this would be helpful.  I have read the microsft links but they are somewhat confusing.

    I know this is a very late response but I thought I'd post for others who search.
    The easiest way to create the .wim file is via WinPE, this guy's two YouTube videos explain the entire process in detail - 
    Windows 8 ADK Part 1: Capture an OS image - https://www.youtube.com/watch?v=XJ8zKX_8E9w
    Windows 8 ADK Part 2: Windows Image Deployment - https://www.youtube.com/watch?v=HHIvoqSw_FI
    Here's a quick rundown from my notes:
    WINPE
    Create WinPE via imaging tools command prompt
    copype amd64 c:\winpe
    makewinpemedia /iso "c:\winpe" "c:\winpe\winpe64.iso"
    UNATTEND
    Open Windows System Image Manager
    Configure unattend.xml
    Save unattend.xml to sysprep folder
    Create script and save it to sysprep folder to launch sysprep with unattend
    @echo off
    cd C:\Windows\System32\sysprep
    Sysprep /oob /generalize /unattend:C:\Windows\System32\sysprep\unattend.xml
    SYSPREP
    C:\Windows\System32\Sysprep
    Run as administrator
    OOBE/Generalize
    Shutdown
    CONFIGURATION of WINPE
    Set IP - netsh int ip set address "Local Area Connection" static 192.168.1.2 255.255.255.0 192.168.1.1
    Set DNS - netsh int ip set dns name = "Local Area Connection" source = static addr = 192.168.1.4 validate = no
    Map Network Name - net use z:
    \\WindowsADK\reflex\images password /USER:domain.local\username
    DISKPART
    diskpart
    list disk
    select disk zero
    list partition
    select partition 2 (OS partition #)
    Assign letter=S (assigns drive letter to partition)
    Exit
    DISM
    dism /capture-image /imagefile:z:\image.wim /capturedir:s:\ /name:"Windows 8.1 Custom"
    Verify image is saved in the image share (z:)
    http://www.microsoftfanboys.com

  • How can I use applescript for OCR of a bunch of files - with Acrobat XI?

    Hi there,
    Iwant to write a script (eg applescript) that can be used as a droplet or has a menu to open a folder of scanned pdf-files to conduct OCR. And - I want to use Acrobat XI (as this is my version), German verison.
    As Acrobat XI is not recordable with the applescript-editor and I do not find a manual of objects and methods I googled a script that worked with Acrobat 9 but not with Acrobat XI. Here you define a "Action Assistant"-Script e.g. called "OCR this" and "click" the item. But as in Acrobat XI this Item is noch in the main-sbubmenu anymore it seems not to work.
    Here is a Screenshot:
    And this is theapplescrpt, tha opens the "Aktionsassistent":
    click the menu item "Aktionsassistent" of menu "Werkzeuge" of menu item "Werkzeuge" of menu "Anzeige" of menu bar item "Anzeige" of menu bar 1
    Butr then I cannot reach "OCR this".
    If any body has a hint - either for clicking "OCR this" or to sript  an OCR on an opened pdf.file with applescript this would be great.
    Thanks,
    Maritn

    AppleScript is documented in the Acrobat SDK. But there is no method for this.

  • How can I use the same object in the different jsp files?

    I am doing a project. I have finished my jave source files and compiled them successfully. And I also wrote a main method to test my classes, they also worked well. Now I am trying to use my jave code in the jsp files. But I meet a problem, in my method of java source file, I can generate a object of a class, and use it in the whole main method. But in the different jsp files, how can I do same thing?
    For example, in the .java file,
    Vector vl = new Vector();
    While ...{
    vl.add(...)
    In each of my .jsp file I want to do one loop of the above, meanwhile I want to do that in the same object.
    I hope you can understand what I mean. Really need your help!

    put your object into a session and you can the use it in all the jsps as long as the session is valid. Or you could create a static variable in the class that only creates one instance off an object and then create a static method to return this object.

  • How do i use Java to read the data in XML files?

    Hi,
    I'm rather interested in using XML in my javacodes, as i think it will be of more OO.
    I want to make use of XML in my javacodes,
    but i don't know how to start doing it, so i hope someone would be able to enlighten me on this,
    =)
    Some examples would be perfect

    Humm interesting...well here is the link to Sun's tutorial on how to use maipulate an XML document using Java's jaxp api.I hope this will give u a hint.
    http://java.sun.com/xml/tutorial_intro.html
    Khalid

  • How can i use the same communication channel to place the file in 2 differe

    Hello Guys,
    We have a requirement where I need to archive the file that i am sending to the legacy FTP server in a Idoc to file scenario.
    How can i place the file in 2 different locations. In this case place the file in the FTP server and a copy of it in the local NFS folder.

    >
    Rajeev kumar wrote:
    > Hello,
    > As per the standards we are supposed to use only one channel.
    > that is one idoc, one message in the sxmb_moni.
    Rajeev,
    You can use an ftp job and save it on XI's folder.
    Process the file into tmp directory on local file system and run operating system command to run ftp job to send the file to your file server and then copy the file to your archive folder and then delete the file from tmp.
    This should solve your problem.
    Regards,
    AV.

  • UTL_FILE: How do you use the ^ as a delimiter from an ASCII file?

    We currently have UTL_FILE pulling in a comma delimited file,
    with this code: With the V_COMMA's declared and other variables
    declared listed below. It works. When we change the ASCII file
    to ^ delimited, the program fails. How do we get the ^ to work
    with UTL_FILE?
    BEGIN
    UTL_FILE.GET_LINE(V_FILEHANDLE, V_NEWLINE);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXIT;
    END;
    /* adding numbers 1-6 to position one on newline*/
    V_COMMA_1 := INSTR(V_NEWLINE, ',', 1, 1);
    V_COMMA_2 := INSTR(V_NEWLINE, ',', 1, 2);
    V_COMMA_3 := INSTR(V_NEWLINE, ',', 1, 3);
    V_COMMA_4 := INSTR(V_NEWLINE, ',', 1, 4);
    V_COMMA_5 := INSTR(V_NEWLINE, ',', 1, 5);
    V_COMMA_6 := INSTR(V_NEWLINE, ',', 1, 6);
    V_ITEM_NUMBER := SUBSTR(V_NEWLINE, 1, V_COMMA_1 - 1);
    V_AVAILABLE := SUBSTR(V_NEWLINE, V_COMMA_1 + 1, V_COMMA_2 -
    V_COMMA_1-1);
    V_ETA_CHAR := SUBSTR(V_NEWLINE, V_COMMA_2 + 1,
    V_COMMA_3 - V_COMMA_2-1);
    V_RETAIL_PRICE := SUBSTR(V_NEWLINE, V_COMMA_3 + 1,
    V_COMMA_4 - V_COMMA_3-1);
    V_DROP_SHIP_FILE := SUBSTR(V_NEWLINE, V_COMMA_4 + 1,
    V_COMMA_5 - V_COMMA_4-1);
    V_COMPANY_FILE := SUBSTR(V_NEWLINE, V_COMMA_5 + 1);

    Thanks for your response!
    I have simplified the sheet so it contains no split or merged cells, yet still I get the exclamation mark where I want the average. (The exclamation mark says 'Numbers can't be divided by zero'.)
    Exam
    Skit
    Exam
    Class Participation
    1
    2
    TOTAL
    MAX. MARK
    55
    30
    100
    15
    200
    ADJ. %
    MARK
    Student A
    37
    20
    84
    15
    156
    78%
    72%
    7
    Student B
    39
    28
    91
    15
    173
    87%
    80%
    8
    Student C
    39
    28
    86
    10
    163
    82%
    76%
    8
    Student D
    34
    26
    92
    15
    167
    84%
    78%
    8
    Student E
    38
    26
    74
    10
    148
    74%
    69%
    7
    CLASS AVERAGE
    37.4
    25.6
    85.4
    13.0
    161.4
    80.7%
    75.0%
    I guess the basic question is: can you actually use AVERAGE on data that is output by an IF formula?

  • How can I use variable for a package filename and target file inODIFileMove

    I want to use a variable for paths so that when I migrate from Dev to QA to Prod I don't have to do a lot of editing.
    Specifically, I want a variable to be the first part of the path for the filename (\\sundev1\fnd1-hypd1) and join this with the rest (\update\log\*.log or specific filename) using several different objects like the ODIFileMove, ODI OS Command, OS Command, etc.
    Thank you!

    Hi,
    you could set up a database table holding processing parameters (i.e. Column1 - ParamName, Column2 - ParamValue).
    One row could then be ParamName = FilePath, ParamValue = \\<server>\folder\
    So, the refreshing query (attached to a logical schema) would be something like SELECT ParamValue FROM <your table> WHERE ParamName ='FilePath'
    Then, create a variable which can refresh from the database and in the package, drop the variable onto the flow and set it's type to 'Refresh Variable' in the properties.
    Hope this helps.
    geeo

  • How do i use proper settings in mpeg streamclip with m2t files?

    hello,
    i have seen this discussion before but not sure what codec i need to transfer to for my type of files...
    i shot a video on the **sony hvr z7u** using compact flash cards and the video was shot on 1080i 24 frames per second...all the files are currently in m2t...
    i used mpeg streamclip and used the follow settings:
    -apple motion jpeg a
    -100 percent quality
    -uncompressed sound
    -frame size: 1920 x 1080 (unscaled)
    -interlaced scaling was checked
    although the files are workable in FCP the files themselves are gigantic...did i use the correct settings?
    thanks very much,
    steven

    Steve
    Download and install Sony's Compact Flash and Portable Recording Unit Log and Transfer plugin (BPE-SS-038D): http://support.sonybiz.net/software/detail.aspx?id=BPE-SS-038D&model=HVR-DR60
    Andy

Maybe you are looking for

  • Details of report

    Hi all experts, i have 2 tables, first table is the  form contents and 2nd is the details of content.. How am i going to do a report which contents of 2 tables. need to use sub-report? e.g. Date                     form No                         Det

  • Mac for Office and stolen macbook

    I had my macbook stolen. I have purchased a new one, but I now need to re-download the Mac for Office software. It won't let me do this. I don't want to purchase again. How can I get this authorised? Thanks

  • How can i keep all installed themes/personas without having to look them up again in the personas gallery?

    When i open up the Add-ons tool, under themes it only shows the last 10 or so themes i used. Is there any way that you can let us download as many themes as we want so we don't have to search for them again in the personas gallery? Meaning that when

  • Why can't I get I cloud drive on my iPad after I have updated to 8.1.1

    My iPad won't give me the option to get iCloud drive on my iPad, I have uupdated to the most recent version and signed out and back into icloud, but I can't get I cloud drive, please help

  • Problems with send forward/back

    This shouldn't be a problem, but it's driving me crazy. I've created a calendar with inDesign. Pictures, month name and calendar, all designed for a CD case. I have no problem arranging the order (front to back) of the above, but I also have lines ac