How can I get subdirectory list in one dir in LabWINDOWS ?

I know there are GetFirstFile and GetNextFile in LabWINDOWS,Is there such functions for Dir?

Yes, you can use the system () command that waits for the function to end before return.
As an alternative you can use LaunchExecutable () that doesn't wait for program conclusion or even better LaunchExecutableEx () that permits you to hide the window for the launched program. In these cases, you will need to use ExecutableHasTerminated () in a loop to be sure the process is terminated before processing the results.
Roberto
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • How can I get a list of users

    How can I get a list of users who work now in B1

    Hello Tasha,
    Do you want to get the run time user list or enabled user of B1? For the second one, you can use Users object from DI API. I don't think you can get the run time user list.
    In addition, to get a more effitive feedback, here are some suggestions of how to post a question. Please check it out. /thread/117227 [original link is broken]
    Hope this helps,
    Nick He

  • How can I get a listing of web orders entered by specific time period

    How can I get a listing of all the orders which has been entered via website using webtools.
    We need to make sure that all the orders which has been entered from website it is synced to B1 instead of looking at the synch error messages. The problem is that when I run the report from Webtools it displays all the orders even the ones which got entered in B1 and got synched to Webtools.
    Tkx

    Try running this query. This will give you a listing of all orders that were placed using a theme. Any orders that were synched from Business One should not appear in this list. It should only contain orders placed through the website.
    SELECT     *
    FROM         OrderMaster
    WHERE      ServerID <> ''

  • How can I get the list of drivers without getting popup message?

    Every time the application gets to this line:
    File[] roots = File.listRoots();
    I get message box: "There is no disk in the drive.
    Please insert disk into drive A:"
    How can I get the list of drivers without getting
    this message popup?

    I don't have a solution to this problem. However, it does occur and it is annoying. I am testing our application on 4 client machines. On three of them, it NEVER asks for the floppy disk. On the remaining one, it ALWAYS asks. I have looked on the computers and cannot find any configuration differences (in fact, these machines are kept in a "closed environment", and therefore, they are configured, by default, exactly the same).
    Does anyone have any thoughts?

  • How can I get a list of apps which are supported on ipod touch model ma623zo?

    How can I get a list of apps which are supported on ipod touch model ma623zo?
    It's about 6 years old I think.
    I have put the latest IOS on there (currently 3.1.3 (7E18)).
    I download apps from the app store but they often fail to launch. I assume they're incompatible.
    Is there a way to check which apps will work and which won't before I buy them?
    Thanks!

    I have no idea how my reply could be "misleading". I stated the exact situation: there are millions of apps in the iTunes Store, and providing a comprehensive, accurate list of which apps support which version(s) of iOS would be highly impractical. You can perhaps help with your search by going to AppShopper:
    http://appshopper.com/search/?search=iOS+3
    That will give you at least some starting points, but AppShopper is neither comprehensive nor completely accurate. I've found a number of apps listed there over the time the site has existed that either are no longer offered or which have been updated beyond the iOS version indicated. But it might help.
    Regards.

  • How can I get a list of database names from environment

    Hi,
    How can I get a list of database names from environment.
    I had found a method in JE API Docs named Environment.getDatabaseNames(), and i couldn't found the same method in Berkeley DB.
    I use java interface, is it supported?
    Thanks.

    Hello,
    I don't know if it would work for you, but have you checked the db_archive utility at:
    http://download.oracle.com/docs/cd/E17076_01/html/api_reference/C/db_archive.html
    Check the -s option.
    Thanks,
    Sandra

  • I ended up with 3 Apple IDs over time.  How can I get it down to one account?

    I ended up with 3 Apple IDs over time.  When I sink my iPad, some apps won't sync because the app was purchased under a different account? 
    How can I get it down to one account and be able to sync all of my iTunes purchases (apps, music, etc.) on my iPad and iPhone?
    This is driving me crazy!  grrrr.   :-)
    I have .me; .mac and .icloud accounts.
    - Dave
    Running OS X  10.8.5 (Mountain Lion) on iMac, using iPad 4 (64GB) and iPhone 5.

    Thanks.  I was afraid of that.  Darn Apple....we use Apple products because they are elegant and easy to use, why can't apple simplify the ID issues???   :-)
    Thanks for the reply.

  • Since I synced my ipad to my iMac I have duplicate photos appearing in the Photo section on my iPad and one can be trashed but the other one can't. How can I get rid of the ones without the trashcan?

    Since I synced my ipad to my iMac I have duplicate photos appearing in the Photo section on my iPad and one can be trashed but the other one can't. How can I get rid of the ones without the trashcan?

    Thanks so much. I was afraid to mess with that.  But when I unsynced them, it worked.

  • HT1420 how can I get a list of the computers that are currently authorized?

    I need to authorize my home computer after switching from PC to Mac. How can I get a list of which devices are currently authorized?

    There is no list.

  • Hi ,How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    Hi ,how can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm
    or poerwshell . i have struggled for a week
    tchocr

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How can I get a list of purchased apps?

    Recently restored my iPhone from backup, and I need to download my apps.  How can I get a list of apps that I've downloaded/purchased?
    If I search for an app via the app store that I had previously installed, the Install icon turns into a Cloud with a down arrow symbol on it - there must be a way to get a list of all of these right?
    Anyone clever enough to solve this riddle?

    Open the App Store app, go to the Updates pane and tap Purchased.

  • How can I get a list of all workbooks

    Can anybody please tell me how can I get a list of all my workbooks that are on my Oracle Discoverer database without having to manually write them down? I am using Oracle Database 10g Enterprise Edition.

    Hi,
    To implement the EUL Management BA follow metalink NOTE:556932.1
    there are very simple steps you need to perform in order to use it

  • How can I get a list of all my annotations to send to someone else, listed by PAGE #, not order.

    How can I get a list of all my annotations to send to someone else, listed by PAGE #, not order??

    The comments list is sorted by page by default. If it's not for some reason, click the "Sort comments" button and select that option. It looks like this:

  • How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How can I get file list for a given directory?

    Hi,
    How can I get file list for a given directory? Is there a function?
    Thanks.

    Hi friend,
    Try this sample report. It displays all files in a directory.
    While executing give some directory name in input. ex:  C:\
    Mention file type in filter parameter. ex: *.DOC
    REPORT ztests.
    DATA : file_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    DATA : dir_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    PARAMETERS:p_dir(50) TYPE c.
    CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
      EXPORTING
        directory  = p_dir
        filter     = '*.DOC'
      TABLES
        file_table = file_table
        dir_table  = dir_table
      EXCEPTIONS
        cntl_error = 1
        OTHERS     = 2.
    LOOP AT file_table .
      WRITE:/ file_table-pathname.
    ENDLOOP.
    Might be helpful...
    Thanks.....
    Edited by: Guest77 on Feb 11, 2009 5:30 AM

Maybe you are looking for

  • Simply change Golive CS2 site over to Dreamweaver CS5

    Is there a simple step-by-step tutorial on this somewhere that doesn't go all over the place in its explanation?

  • Multiple Transitions?

    Hello...is it possible to use multiple transitions within a single slideshow using iDVD?? I've searched but came up with nothing. Thanks in advance.

  • "Share over Wan" - passworded but log files say differently?

    In a desperate attempt to get backup features to work on my TC, I enabled "Share over Wan". Thinking that I've got more than enough security with disk passwords, I didn't automatically think there'd be a problem. I then looked at my log files on my T

  • RIDC Check in Document

    Hi, I try checkin document by RIDC but it error. java.lang.NullPointerException      at oracle.stellent.ridc.protocol.http.IdcHttpProtocol.writeRequest(IdcHttpProtocol.java:183)      at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:161) D

  • Validating selection list in struts!

    Hello all,how can i validate the selection list in struts using validation.xml file. I have the list populated in the following manner: <html:select property=...> <html:option value="">Select your gender</html:option> <html:options collection propert