Reply to Thread

Post a reply to the thread: File enumeration question

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 01-14-2015, 09:51 AM
    linder

    Re: File enumeration question

    Kel,

    Okay, if it returns "2" (Handle File Listing -> Load File List) then it found two .MAC items. Next step is to use "Handle File Listing -> Get File List Item" and/or "Handle File Listing -> Get Next List Item" to retrieve the location(s). Similar to the Example (please see attached screenshot).

    Does this work?

    Friedrich
  • 01-14-2015, 08:15 AM
    cnkinsd

    Re: File enumeration question

    Friedrich,

    Thanks, finally got 8.5 downloaded and installed and have tried your suggestion of Handle File Listing. I have tried all of the options in the function and the only one that allows defining "C:\*.MAC" is the Load File List operation, and what it returns is an INT in this case "2" which is the correct number of files with the .MAC file extension. However I need the Location of the files listed, not the number of files, much like the "Search For File" function provides.

    I know that SB8 can do this, I just know it. Any other suggestions from you and your team?

    Kel
  • 01-14-2015, 07:54 AM
    cnkinsd

    Re: File enumeration question

    That would be great. Except we are using 8.1 and that function does not look like that in the version we are using, where can I download 8.5? I am looking for it.
  • 01-14-2015, 02:36 AM
    linder

    Re: File enumeration question

    Kel,

    Maybe you can use the "Handle File Listing..." script function? What do you think?

    Friedrich
  • 01-13-2015, 10:59 AM
    cnkinsd

    File enumeration question

    All,

    I am trying to enumerate all files on an HDD with a specific extension, say .bat

    I have not been able to do this in SB8. I have tried the Search for file, however you cannot use wildcards.

    Does anyone know how to do this in SB8? A simple search and display all files with that extension would be great help...

    Thank you in advance for your help.

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •