How can i open the directory/​folder and read all the files inside it in order and then close it?

How can i open the directory/folder and read all the files inside it in order and then close it? any example would be nice.
thanks

In the File I/O>>Advanced File Functions Palette is a function named "List directory". This function will give you two arrays. One contains the names of all subdirectories the other the names of all files. If you want to sort them by name use the array sort function. If you want to sort them by another attribute use the File/Directory Info function to get more data. Use a cluster which contains the attribut to sort and the original index of the name. Then sort this array.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions

Similar Messages

  • How can we open a new folder in the email account (ex: need to save certain emails into a new fodder called "work". can anyone help

    How can we open a new folder in the email account (ex: need to save certain emails into a new fodder called "work".
    Anyone can help?

    Right click on any folder in mail and select Create new mailbox.

  • How can i open my iphone if i dont know the apple id and password

    how can i open my iphone if i dont know the apple id and password

    Hey Bergiexxx,
    Thanks for using Apple Support Communities.
    If you are having trouble getting into the iPhone follow this article.
    iOS: Forgot passcode or device disabled
    http://support.apple.com/kb/ht1212
    If you are having trouble getting into your account follow this article.
    If you forgot your Apple ID password
    http://support.apple.com/kb/ht5787
    Have a nice day,
    Mario

  • How can I Publish to a Folder just one of the several websites I have created using iWeb?

    How can I Publish to a Folder just one of the several websites I have created using iWeb?
    it drives me nuts having to emove all the other websites when I want to upload one. 
    Sparrow

    For iWeb, I like to do only one site per domain file.  I move domain files out of the Application Support folder and place them inside project or client folders, or in DropBox. Once you duplicate a domain file and begin customizing it, it will load and behave as a separate project/site.
    I publish each iWeb domain/project direct to a server via FTP. Sometime I publish to a folder, then upload via FTP manually.
    iWeb is a remarkable tool, especially when you work from scratch with blank tamplates
    Here are a few of my iWeb sites:
    http://www.newcovenant.org
    http://www.visionmultimedia.org
    http://www.visioncomsolutions.com

  • How can I recover my account information I lost all the details and only remember my email address

    how can I recover my account information I lost all the details and only remember my email address

    https://getsupport.apple.com/Issues.action

  • I deleted the font section but everything in Photoshop CS5 works.  How can I fixed this because I use fonts all the time? I don't want to purchase another one since this cost me $699:(

    I purchased PhotoshopCS5 Sept 2010 and still use the same MAC. I invertly deleted the font section but everything else works.  How can I fixed this because I use fonts all the time? I don't want to purchase another one since this cost me $699:(

    Which version of mac os x are you using?
    Could you clarify what you mean by "I invertly deleted the font section"

  • I have windows for apple power point, how can i print a 6 slide handout using ALL the paper?

    I have windows for apple power point, how can i print a 6 slide handout using ALL the paper?
    The slides come out SO small and there is so much paper not used!

    Ah - OK. Ahora entiendo.  Estás en el foro incorrecto.  Aquí tratamos sólo con los productos de Apple, y tu pregunta es sobre un producto de Microsoft.
    Tendrás más suerte en el foro de PowerPoint en el sitio de Microsoft:
    http://answers.microsoft.com/en-us/mac/forum/macpowerpoint
    ¡Suerte!
    M.

  • How can I get my downloads folder to appear in the docking station

    How can I get the download folder to remain on the docking station

    Note if you don't have any folders on your Dock, note the trashcan is on one side of the dock with a divider between it and applications.  Minimized windows (with the yellow button on the upper left corner) will go between the trash and that divider.  You can drag folders into the section between the minimized windows and the trash.

  • How can I change a restrictions passcode without losing all the restricted settings?

    We have two iPads for two boys... both are heavily restricted.  One of my boys saw the passcode and I changed it by disabling and then re-enabling restrictions, only to be shocked when ALL MY SETTINGS were reverted to default and DIDNT come back after enabling restrictions again.  How can I change the passcode on the other iPad without losing all the settings, especially the long list of blocked websites?
    Thanks in advance.

    What good would the passcode be if you could bypass it like that?

  • How can I open a DCIM folder ?

    I have downloaded an iPhone photos folder in the DCIM but when I open open it
    There is not thing appear on it but it's appear that the folder size is 1 gb
    So how can I see my photos

    Just how did you do that?
    If y go to My Computer>iPod>DCIM folder and click on the folder and then click on the folder that then opens yo should see the photos and should should be able to copy the pohtos to your computer.
    For more info see:
    iOS: Importing personal photos and videos from iOS devices to your computer

  • How can i open a directory in sql*plus?

    i need to run a file in sql* but i didn't know how to open the directory which contains it, can u tell me plz?

    i need to run a file in sql* but i didn't know how to open the directory which contains it, can u tell me plz? SQL > start C:\jungle\island\yourscript.sql

  • How can I open a local folder using flash builder or AS3?

    I need to open a local folder get the zip file and unzip it.
    I know that i cannot open a folder using flash builder, i did it using air app. now i do not know how do i integrate it with my flex program.
    Please help me with this issue.
    Thanks

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script source="Asset/folder.as" />
    <mx:Button x="10" y="10" label="My Button" width="122" height="31" id="myButton" click="folder()"/>
    <mx:ComboBox x="10" y="49" id="cbobx" dataProvider="{}"  ></mx:ComboBox>
    </mx:Application>
    and .as code is:
    // ActionScript file
    import flash.display.*;
    import flash.events.*;
    import flash.net.FileFilter;
    import flash.net.FileReference;
    import flash.net.FileReferenceList;
    import mx.controls.Alert;
    import mx.controls.ComboBox;
    private var fr:FileReferenceList;
    private var cmbobx:ComboBox = new ComboBox();
        private function folder():void
    fr = new FileReferenceList();
    fr.browse([new FileFilter("Zip Files", "*.zip")]);
    fr.addEventListener(Event.SELECT, listZipFiles);
    private function listZipFiles(e:Event):void
    Alert.show("selectHandler: " + fr.fileList.length + " files");
            var fls:Array = new Array();
            var file:FileReference;
            for (var i:uint = 0; i < fr.fileList.length; i++)
                file = FileReference(fr.fileList[i]);
                //Alert.show("File Name: " + fr.fileList[i]);
                Alert.show("File Name: " + file.name);
                fls.push(file);
                cmbobx.selectedItem = fls;
    private function getShpFiles(event:MouseEvent):void

  • How can I enable Active Directory network login while maintaining the existing local user account data?

    We have a user base of around 15 Macs that we would like to integrate into Active Directory. However, we need to maintain the existing users local account data but do not wish to have that data moved to the network. Is there an easy way to create the AD login and then move the existing account data to the new login while maintaining correct permissions?
    I've had some success logging in as root and deleting the existing account, while maintaining the home folder. Then renaming it to match the AD login account name and replacing the new and empty AD user home.  I then perform a CHOWN on that folder to give ownership to the AD account name.
    Is it this simple? I don't want to leave any loose ends.
    Thanks for any help you can provide,
    Scott

    JamesSTJ wrote:
    Oh, found it!
    And guess what? Apple wanted to charge me a one time fee of $600 to answer that question.
    It worked! thanks!
    I guess I'm cheap

  • HT4623 How can I change my email address so that  all the emails r the same for my apple, iTunes, and iCloud are the same I forgot my old email ow and I cant retrieve it so I want to change it so it's all the same plz help.

    How can I change my iTunes, Apple and icloud to my yahoo account instead of it being on hotmail, I have yahoo on apple but my iTunes and iCloud still reading my hotmail and I don't know my pw for my hotmail account. I can't update or get apps due to it it going to my hotmail address once logged in to apple it said I can log into iTunes, and iCloud but that's not the case plz help

    First sign out of everything,
    Second make sure you know the current password
    Third got to id.apple.com
    Fourth use said password and your hotmail account to sign in then change the primary

  • How can i get iTunes to get rid of all the album art so my list of artists is nice and tight

    just trying to get rid of all of the artwork on itunes so that I can have nice lists

    If you removed all the art iTunes would still display an image against each artist and not squash them up any closer...
    Surely having the correct art for every album is more attractive.
    tt2

Maybe you are looking for

  • Flash 9.0.45 crash on Intel Mac OSX

    Date/Time: 2007-10-08 09:55:34.233 -0700 OS Version: 10.4.10 (Build 8R2218) Report Version: 4 Command: firefox-bin Path: /Applications/Firefox.app/Contents/MacOS/firefox-bin Parent: WindowServer [720] Version: 2.0.0.7 (2.0.0.7) PID: 1462 Thread: 0 Ex

  • How to read and show images from a folder in panel

    HI I have pre uploaded images in a folder in app server. In a page when user clicks on a button i need to show these images in a popup. when user selects any image i need to get the selected image name show it in the base page and close the popup. Ne

  • Downloading and Installing iTunes on Win 8.1 Pro

    I have downloaded iTunes on my new PC that has the Win 8.1 Pro OS. When the download finished and iTunes opened up for the first time I got an error message that said 'iTunes has detected a problem with your audio configuration. Audio/Video playback

  • Error: "FATAL: Module oracleasm not found" in Red Hat 6

    Hi all:    OS.....: Red Hat 6.5 (64 bits)    I am preparing to install an 12c RAC in a Red Hat 6.5. While configuring the ASMLib, i got the following error while executing "/usr/sbin/oracleasm init":       May  2 18:23:20 oraprd01 modprobe: FATAL: Mo

  • Synchronize Outlook Contact Pictures

    Hi there! I recently bought a Nokia 6233 and have managed to synchronize my Microsoft Outlook contacts to it via Nokia PC Suite 6.8. However I cannot manage to synchronize the contact pictures that I have added in outlook. Please help! Thanks loads!