Files, directories and subdirectories count

Hello,
I'm currently building a small AIR application via Flash Builder 4 (FLEX 4) that will count the number of files (EVERY type of file)
in a certain directory (choosen by the user) the problem gets when I have subdirectories,
tried recursive (which is basicly the only solution) and got stuck and confused with myself, can anyone help a brother out here?
            private var directory:File = File.documentsDirectory;
            [Bindable]
            private var count:int = 0;
            public function browseForDirectory():void
                directory.browseForDirectory("Select Directory");
                directory.addEventListener(Event.SELECT, directorySelected);
            public function directorySelected(event:Event):void
                directory = event.target as File;
                var files:Array = directory.getDirectoryListing();
                for(var i:int = 0; i < files.length; i++)
                    myPath.text = directory.nativePath;
            public function countFiles():void
                var files:Array = directory.getDirectoryListing();
                for (var i:int = 0; i < files.length ; i++)
                    count++;
                    if (files[i].isDirectory)
                        count += countFiles();
                myResult.text = count.toString();
Hoping for a quick response, Thanks!

Here is how it is done in java as far as file recursion.  The main deficiencies I see with your code is that you don't discriminate if a file is a directory or a file.  You have to discriminate, so that if your file is a directory, you can invoke the "count" function on it.
http://www.javapractices.com/topic/TopicAction.do?Id=68

Similar Messages

  • [Acrobat X Pro] File locks and page counts when printing

    Hi,
    We have two users on Acrobat X Pro Win 7 X32.
    On both systems they have the following issues.
    1) If they were to print only page 1 for example, they can set a page count of 5 copies and it would be fine. If later on they were to print page 10 and they would also like 5 copies, the page count has reverted to the default 1 copy. It doesn't remember the selection of 5 copies from the previous print.
    Is this a bug?
    2) File locks occur on all files even if they are specifically closed. The file lock is only removed once they close Acrobat down entirely. This has cause alot of problems. Has Adobe acknowledged this as a fault yet?
    Thanks.

    Make sure the Preview panel in Windows Explorer is disabled.

  • Zipping /Unzipp both current directories and subdirectories using zlib java

    Hi
    Guys any one provide me code for zipping and unzipping directory contains a subdirectories..using zlib java
    It is very urgent ..please send me the code..............
    consider..
    folder name is input for zipping
    and zipfile name is input for unzipping..
    Please help me out in this problemm
    Thanks regards,
    javaprabhu

    package ar.com.unizono.utils;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Enumeration;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipFile;
    * UnZip -- print or unzip a JAR or PKZIP file using java.util.zip. Command-line
    * version: extracts files.
    * @author Ian Darwin, [email protected] $Id: UnZip.java,v 1.7 2004/03/07
    *         17:40:35 ian Exp $
    public class UnZip {
         /** Constants for mode listing or mode extracting. */
         public static final int LIST = 0, EXTRACT = 1;
         /** Whether we are extracting or just printing TOC */
         protected int mode = LIST;
         /** The ZipFile that is used to read an archive */
         protected ZipFile zippy;
         /** The buffer for reading/writing the ZipFile data */
         protected byte[] b;
    * Simple main program, construct an UnZipper, process each .ZIP file from
    * argv[] through that object.
         public static void main(String[] argv) {
              UnZip u = new UnZip();
              for (int i = 0; i < argv.length; i++) {
                   if ("-x".equals(argv)) {
                        u.setMode(EXTRACT);
                        continue;
                   String candidate = argv[i];
                   // System.err.println("Trying path " + candidate);
                   if (candidate.endsWith(".zip") || candidate.endsWith(".jar"))
                   u.unZip(candidate);
                   else
                   System.err.println("Not a zip file? " + candidate);
              System.err.println("All done!");
         /** Construct an UnZip object. Just allocate the buffer */
         UnZip() {
              b = new byte[8092];
         /** Set the Mode (list, extract). */
         protected void setMode(int m) {
              if (m == LIST || m == EXTRACT)
              mode = m;
         /** Cache of paths we've mkdir()ed. */
         protected SortedSet dirsMade;
         /** For a given Zip file, process each entry. */
         public void unZip(String fileName) {
              dirsMade = new TreeSet();
              try {
                   zippy = new ZipFile(fileName);
                   Enumeration all = zippy.entries();
                   while (all.hasMoreElements()) {
                        getFile((ZipEntry) all.nextElement());
              } catch (IOException err) {
                   System.err.println("IO Error: " + err);
                   return;
         protected boolean warnedMkDir = false;
    * Process one file from the zip, given its name. Either print the name, or
    * create the file on disk.
         protected void getFile(ZipEntry e) throws IOException {
              String zipName = e.getName();
              switch (mode) {
              case EXTRACT:
                   if (zipName.startsWith("/") || zipName.startsWith(File.separatorChar+"")) {
                        if (!warnedMkDir)
                        System.out.println("Ignoring absolute paths");
                        warnedMkDir = true;
                        zipName = zipName.substring(1);
                   // if a directory, just return. We mkdir for every file,
                   // since some widely-used Zip creators don't put out
                   // any directory entries, or put them in the wrong place.
                   if (zipName.endsWith("/") || zipName.startsWith(File.separatorChar+"")) {
                        return;
                   // Else must be a file; open the file for output
                   // Get the directory part.
                   int ix = zipName.lastIndexOf('/');
                   if(ix==-1)
                        ix=zipName.lastIndexOf(File.separatorChar+"");
                   if (ix > 0) {
                        String dirName = zipName.substring(0, ix);
                        if (!dirsMade.contains(dirName)) {
                             File d = new File(dirName);
                             // If it already exists as a dir, don't do anything
                             if (!(d.exists() && d.isDirectory())) {
                                  // Try to create the directory, warn if it fails
                                  System.out.println("Creating Directory: " + dirName+" at "+d.getAbsolutePath());
                                  if (!d.mkdirs()) {
                                       System.err.println("Warning: unable to mkdir "
                                       + dirName);
                                  dirsMade.add(dirName);
                   System.err.println("Creating " + zipName);
                   FileOutputStream os = new FileOutputStream(zipName);
                   InputStream is = zippy.getInputStream(e);
                   int n = 0;
                   while ((n = is.read(b)) > 0)
                   os.write(b, 0, n);
                   is.close();
                   os.close();
                   break;
              case LIST:
                   // Not extracting, just list
                   if (e.isDirectory()) {
                        System.out.println("Directory " + zipName);
                   } else {
                        System.out.println("File " + zipName);
                   break;
              default:
                   throw new IllegalStateException("mode value (" + mode + ") bad");
    This version works fine for me but needs enhacements                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Camera Roll - File names and the counter

    This is my first iPhone, so I don't know if this is a new issue or not. But one thing that has been bugging me is the camera roll. Some people leave all their pictures there, while others use it as a "temporary folder" until their next sync, and then they put those photos in other folders, etc. I used to keep all my pics in the Camera Roll until I got a lot of them and realized how slow it was for all of them to load when downloading them via Image Capture. I also hear all these stories online of people "loosing" their files from their camera roll so I now MOVE my pictures out of there, and put them in various other folders to organize them (like "screenshots" "family pictures" etc) which then get synced back to my iPhone for viewing.
    My problem is, the FILE NAMING.
    So lets say I take a photo. It is named IMG_0001.JPG
    Then I take a screenshot. It is named IMG_0002.PNG
    Then I sync my phone. Both are moved to my pictures folder, and removed from the phone. The screenshot goes in my screenshots folder and the photo goes to a photo folder.
    I go to take another picture. But, it gets named IMG_0001.JPG
    The problem here? I go to move that picture into a folder with others and I get an error saying that a file with the same name exists. I then have to rename the file or delete the old one to be able to put it in the folder.
    So, whats going on? Why isn't that third picture named IMG_0003.jpg?
    My Kodak digital camera names its files the same way. (actually, 100_0001, 100_0002, etc) and when I clear the pictures off the card, it KEEPS THE NUMBERING! (until I reach 100_9999, and then it goes to 101_0001)
    Any ideas (other then mass renaming all of my existing files?)
    Also, I am aware that I can use iPhoto instead as it doesn't care about the filenames, but then if I ever want to pull them out of iPhoto, I am still screwed with messed up file names.
    I can't believe a bug like this still hasn't been fixed by Apple. There must be something I'm doing wrong.
    Thanks in advance for any suggestions or comments about this issue.
    -Scott

    Does anyone know if this has been fixed in 4.1?
    I upgraded to it, but I'm afraid to delete all my photos to see if the number will correct itself or not.

  • Please describe the directories and subdirectories and their use in .mozilla on linux

    In Linux, the Firefox profile is stored in the .mozilla directory. Under that are the extensions and firefox directories. But under firefox are the profiles directories, crash reports and extensions directories. There appears to be duplicates.
    Also, why isn't Thunderbird, a Mozilla app, also under .mozilla?
    Thank you.

    Fred this is on Linux, not Windows. Also how does that answer the question anyways.
    To actually answer the question, for Thunderbird on Linux it is '''.thunderbird''' if it is not in /.mozilla/thunderbird depending ion whether from mozilla.org or a package provided by Linux distro.
    https://support.mozilla.org/en-US/kb/profiles-tb
    And duplicates of what? as you can create multiple Profiles so there will be a folder for each Profile in .mozilla/firefox/

  • File deletion in root and subdirectories.

    Greetings,
    I have a question regarding Batch scripting. I am trying to create a system maintenancing script which removes .TMP and .BAK files from all of my drives both subdirectories and directories above. Let's say the Batch script would be placed into "Folder3"
    in the following internal drive address "C:\Folder1\Folder2\Folder3\Folder4\Folder5". And I want the batch script to remove files from folders 4 and 5 as subdirectories but also to remove files from C: Drive and folders 1, 2, and of course 3 itself
    but without removing folders. And I'd like to apply this method to all drives simultaneously without a human user personally moving the script via cut/copy and pasting from drive to drive. The other alternative which can come into consideration is to create
    a Batch File with any address location on the internal drive and when running this Batch file it'll create additional Batch Files on specified (multiple) drives at the very root of drives in the drive address of C:\ for instance, and initializes the required
    file deletion process. Some of the folders require my Administrator priviliges therefore I'd like to create a code within the script that ask for user permission and says "Yes" but without actually asking from me as the user to click "Ok"
    or "Yes" when running the script itself or to fully bypass the firewall. I have created the other part of the coding for deleting specified superfluous file types and in what way it's just the sub and above-directory part of it that gives me a pause
    to proceed. Any help is greatly welcome or pointers. If my request would seem cluttered please notify me of it and I'll try to simplify it down, although I hope I wasn't too confusing with the elaboration.
    Thank you in advance, even for the consideration.
    Kind Regards.

    @ECHO OFF
    for %%a in (C: D: E: F: G:) do call :Sub %%a
    goto :eof
    :Sub
    echo Processing %1
    del /s /q %1\*.tmp
    del /s /q %1\*.bak

  • On iPhoto 08 - File Directories, Events and Gallery Support

    For sometime now, I have been meaning to better organize my digital photos and share them with my friends and family on the web. I have finally done so, and now I am having a bit of a problem implementing my organization into the new iPhoto, but I am willing to learn about the newest version of iPhoto and figure out ways to make things work. So I have a couple of questions.
    One problem I have always had with digital photos is that it is not easy to see when the photo was taken when you are just looking at the photo as a file. I guess my major concern is that the "Date Modified" in the Finder is a little bit misleading on first glance. I want to be able to look at a file and tell when the photo was taken and not when it was uploaded to my computer. So I found an Automator Action that will allow to go back and rename your photos according to the date they were taken. I used the %Y%m%d_%H%M%S date syntax to rename all of my pictures. My thinking was that I would be able to quickly know the date/time the picture was taken in Finder or iPhoto. Someone in the Applescript Discussion gave me a simple script that would further organize the directories my pictures lived in. So now, a photo I have taken today would look something like this on my computer /2008/200809/20080909/20080909_083029.jpg. Now that I have imported my photos in the newest version of iPhoto, I see that Apple has changed the iPhoto directory so that it is not easily viewable.
    My first question is what does this mean for me going forward. It looks like my file/directory syntax remained intact inside the iPhoto directory, but how will I continue to add pictures using my current syntax in the future? There are programs/scripts to download pictures from your camera using the same naming conventions I already used for folders and files. Will iPhoto allow me to directly create directories in subdirectories in the iPhoto directory without using iPhoto to download the photos from my computer?
    Also, I started using the .Mac galleries right before I started in on my photo reorganizing adventure. Initially I thought it might be a neat idea to have the Albums in the Gallery tied to the syntax of the directories syntax so that my friends and family would have a visual timeline of my kid's growing up. So maybe there would be an album called 200908 where friends and families could see last months pictures, and also see albums of previous months. And when I started using the newest version of iPhoto I realized there is a new element I needed to learn about called "events". I guess because of the syntax of my directories, it has created a new event for every day I have pictures. Is this how iPhoto determines events? I really cannot find much information on this. This is pretty neat, but it does not really follow the exact syntax of my directory system. In other words, there is no way to have events (months) and sub-events (days). Furthermore, I believe there is a limit on the number of Albums you can have in your .Mac gallery, and I am assuming that I would go over this if I created an Album for everyday that I had pictures. I realize that I could probably create Smart Albums in my iPhoto so that I had pictures from a YYYYMM folder, but it seems like a lot of extra work. Should I change my directory syntax to %Y/%Y%m/%Y%m%d_%H%M%S.jpg (i.e. 2008/200809/20080909_083029.jpg) so that events are represented as months and not days? Or is there another way to achieve limiting the number of events and still keep the same organization?
    Sorry for the long-winded question, hopefully someone can get me started. Thank you in advance.

    Redshark
    Do you want to organise your Photos?
    Or your Files?
    If you want to organise your files, use the Finder - it's exactly what it's for. And all your questions relate to organising Files.
    If you want to organise your Photos use iPhoto.
    The point of iPhoto is that you organise the pics and let iPhoto look after the files. After you import them to iPhoto, forget about them.
    With iPhoto 7 (iLife 08) the old iPhoto Library Folder is now a Unix Style Package File. The change was made to the format of the iPhoto library because many users were inadvertently corrupting their library by browsing through it with other software or making changes in it themselves. These changes include renaming files.
    Will iPhoto allow me to directly create directories in subdirectories in the iPhoto directory without using iPhoto to download the photos from my computer?
    No. Don't change anything in the iPhoto Library Folder via the Finder or any other application. iPhoto depends on the structure as well as the contents of this folder. Moving things, renaming things or otherwise making changes will prevent iPhoto from working and could even cause you to damage or lose your photos.
    The only way to bring photos into the iPhoto Library Folder is via importing them through iPhoto.
    Here's the thing: Want to find the photos from a specific date? Use the calendar tool. (Click on the wee magnifying glass in the search window. You can find the pics from a specific day, month, year effortlessly. With Date base Smart Albums you can find all the pics from just about any combination of dates that you might want.
    Want to then get to +that pic from 6/5/2003+ Need to email that file? Or want to open it in Photoshop to edit? Or want to upload it to a website?
    There are many, many ways to access your files in iPhoto:
    For 10.5 users: You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. If you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto. With 10.5 you can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    Or, if you want to access the files with iPhoto not running, then create a Media Browser using Automator (takes about 10 seconds) or use THIS
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    So, in a nutshell, you need to decide which your are organising... files or photos.
    Events are a Download filtered by date. You can set the paramaters in the iPhoto Preferences -> Events.
    Events in the iPhoto Window correspond exactly with the Folders in the Originals Folder in the iPhoto Library package file (Right click on it in the Pictures Folder -> Show Package Contents).
    You can move photos between Events, you can rename Events, edit them, create them, as long as you do it via the iPhoto Window. Check out the Info Pane (wee 'i', lower left) the name and date fields are editable. Edit a Event Name using the Info Pane, the Event Folder in iPhoto Library/Originals will also have the new name.
    Regards
    TD

  • EMIEsitelist and EMIEuserlist hidden directories and dat-files

    2014-04-05
    Cross-posted from
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-security/erniesitelist-and-ernieuserlist/00407bd2-e349-423c-a8e5-cb6127840ea5
    Original Post dated April 21, 2014
    EmieSiteList and EmieUserList
    Microsoft Security - Privacy Concerns
    I found two unknown directories on my PC in my user profile.  I have, so far, been unable to identify what put them there, which process owns them, and when I delete them (using Admin escalated privileges) they come back after a few minutes or immediately
    after reboot.
         c:\users\USERNAME\appdata\local\EmieSitelist\container.dat
         c:\users\USERNAME\appdata\local\EmieUserlist\container.dat
         C:\Users\USERNAME\AppData\LocalLow\EmieSiteList\container.dat
         C:\Users\USERNAME\AppData\LocalLow\EmieUserlist\container.dat
    It was time, anyway, so I wiped the drive using factory low-level overwriting and performed a clean install of Windows 8.1 Pro using a freshly downloaded ISO from Microsoft; one with an ESD distribution, written to a new just out-of-the-bedamned-hardshell-plastic
    flashdrive..
    I just completed the clean install, in this sequence:
    Boot to flashdrive and let Windows create partitions then install.  Reboot.  Check AppData; no folders found.
    Activate.  Check AppData; no folders found.
    Run first Update; install everything except Bing Bar and Desktop.    Check AppData; no folders found.  Reboot.  Check AppData; no folders found.
    Add Feature Windows Media Center.  Check AppData; no folders found.  Reboot.  Check AppData; no folders found.
    Run Updates a second time.  Check AppData; no folders found.  Reboot.  Check AppData; no folders found.
    Remove MS C++ v12 x86 and x64 installed during Update.    Check AppData; no folders found.  Reboot.  Check AppData; no folders found.
    Download from MSDN (http://msdn.microsoft.com/en-us/vstudio/default) Redistributables MS C++ x86 and x64, 2005, 2008, 2010, and 2012.4 versions, and install in sequence.  Check AppData
    after each install; no folders found.  Reboot after each install and check AppData; no folders found.
    Run Updates a third time.  Response was No Updates Available.  Check AppData; no folders found.
    Reboot.  Check AppData; all four sub-directories are now present.
    These sub-directories and dat-files are not, so far, present in the AppData\Roaming directory.
    There is nothing except Microsoft Windows 8.1 Pro WMC and the 10 MS C++ packages installed; and MS Silverlight and AMD (videocard) Catalyst Control Center on the machine.  Windows Defender is present but is installed as part of Windows 8 and 8.1;
    and its' updates are provided via the MS Update process.  All - repeat ALL of these items are provided by Microsoft.
    My questions are:  What are the Emie directories for; what program created them, and what does the various container.dat files "contain"?  And . . . if not absolutely necessary, How do I get rid of them and keep them from coming back?
    First attempt at Solution:
    Permissions are Full for System, USERNAME, and group Administrators.  The USERNAME is the Owner, and Effective Permissions for each of the 3 is Full.
    Open Command Prompt (Admin)
    C:\Windows\system32>cd\
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\Local\EmieSiteList\container.dat
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\Local\EmieSiteList
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\Local\EmieUserList
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\Local\EmieUserList\container.dat
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\LocalLow\EmieUserList\container.dat
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\LocalLow\EmieUserList
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\LocalLow\EmieSiteList
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\LocalLow\EmieSiteList\container.dat
    C:\>
    BOTH Files and Directories are no longer Hidden.  The Directories still show that the files within are READ-Only, but checking the actual file shows that it is no longer R-O.
    I then deleted each of the 4 directories and  closed Windows (File) Explorer.
    After less than 3 minutes reading pages on the internet (at Microsoft's Ask Windows Community), I opened Windows Explorer to check and found that the sub-directories had re-created themselves in both the Local and LocalLow directories.
    The container.dat files were back in the Local sub-dir and after another few minutes, also back in the LocalLow sub-dir.
    Both the sub-directories and the container.dat files are once again Super-Hidden.
    Analysis using Windows utilities and SysInternals and NirSoft tools have not identified which object or process or service owns these objects.
    ADDED:  My system is a home system, not connected to any work domain via VPN or otherwise.  WHY is the Windows Update Team not spending time to implement condition-and-error-checking to ensure that unneeded updates, services, and changes are not made
    without the system owner/operator permission?  Further, WHY is this particular issue so hard to find info about; what is being kept from customers and why?

    Dear sir Shovel Driver,
       About:  EMIEsitelist  and  EMIEuserlist
    .., hidden directories and dat-files
    Internet Explorer 11 (on Windows 7 and Windows 8.1) provides increased performance, improved security, and support for the modern technologies like HTML5 and CSS3 that power today’s Web sites and services. By adding better backward compatibility with
    Enterprise Mode, Internet Explorer 11 now helps customers stay up to date with the latest browser—and facilitates using the latest software, services, and devices.
    IE11 Enterprise Mode can be set in the Group Policy Console, or by adding a
    Registry setting:
    REGISTRY:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main]
    "EnterpriseMode"="Disable"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode]
    Or a edit a Group Policy setting, which you can find under:
    [Windows-Key]+[R]->[Run]->Type here:
       gpedit.msc
    Press [Enter], with an UAC Warning:
    Do you want to allow the following program to make changes on this computer:
    gpedit.msc ?
    Select/Press: Yes
    Go to in the Left pane of the GPedti.msc Window:
      Computer Configuration
      Administrative Templates
      Windows Components
      Internet Explorer
    Change / Add at right list, down under:
      "Use the Enterprise Mode IE website list"
    Set this option to - whatever you need;  Disabled,
    Enabled (Default is: Not Configured)
    When Enabled, you need to add a list with Web-Sites, Domains or Web-Pages.
    This policy setting lets you specify where to find the list of websites you want opened using Enterprise Mode IE, instead of Standard mode, because of compatibility issues. Users can't edit this list.
    If you enable this policy setting, Internet Explorer downloads the website list from your location
      (HKCU or HKLM\Software\policies\Microsoft\Internet Explorer\Main\EnterpriseMode),
    opening all listed websites using Enterprise Mode IE, Web-Sites are seperated by a sign: "
    If you disable or don't configure this policy setting, Internet Explorer opens all websites using Standards mode.
    Now to
    properly close and conclude this
    mystery:
    EMIEsitelist and EMIEuserlist
    .., are hidden directories and dat-files
    Thses directories and dat files are used to store data for the IE11
    EnterpriseMode.
    It is not a: Virus, neither it is a Trojan, Hoax, KeyLogger or anything else bad.
    TECHNET Sources:
     Turn on Enterprise Mode and Use a Site List (Deploy):
     http://technet.microsoft.com/en-us/ie/dn262703.aspx
     What is Enterprise Mode?:
     http://technet.microsoft.com/library/dn640687.aspx
    If you find this usefull, please Vote at the button
    "I Find This Usefull"
    Thank you! ;)
    Best regards, MPVS
    MP|VS

  • I want to move the location of my iTunes library music files. At present they are all on my time machine . I want to move them all to my imac. Can I do that and keep all my playlists and play counts? Thanks in advance

    I want to move the location of my iTunes library music files. At present they are all on my time machine . I want to move them all to my imac. Can I do that and keep all my playlists and play counts? Thanks in advance
    its 1000s of songs . Originally I used the time machine as a networked drive but it can cause the songs to pause so I'm thinking it would be better to have the songs on the internal imac drive
    how can I move the songs so I can re-open iTunes and the playlists (with plays in the 100s) find the song in the new place?

    Do you mean on your Time Machine backup drive? Or are you actually accessing the backup? In either case you shouldn't be doing that. If you haven't space on your HDD to store the iTunes Library, then at least put it on another external drive.
    Since you did not provide any information about what's actually "on my time machine," here's what you would do. The entire iTunes folder should be stored in the /Home/Music/ folder. Within that folder you would have three folders: imm Media, iTunes, and iTunes Playlists.

  • How to insert a shoutbox and a counter in a flash file with html code?

    How to insert a shoutbox and a counter in a flash file with
    html code?
    Code shout box
    <!-- BEGIN MYSHOUTBOX.COM CODE -->
    <iframe src="
    http://489676.myshoutbox.com/"
    width="152" height="300" frameborder="0"
    allowTransparency="true"></iframe>
    <!-- END MYSHOUTBOX.COM CODE-->
    Code compteur
    <script type="text/javascript" src="
    http://www.123compteur.com/counterskinable01.php?votre_id=268303"></script><noscript><a
    href="
    http://www.123compteur.com"
    target="_blank">compteur</a></noscript>

    thx =D

  • Getting Sum, Count and Distinct Count of a file

    Hi all this is a UNIX question.
    I have a large flat file with millions of records.
    col1|col2|col3
    1|a|b
    2|c|d
    3|e|f
    3|g|h
    footer****
    I am supposed to calculate the sum of col1 =9, count of col1 =4, and distinct count of col1 =c3
    I would like it if you avoid external commands like AWK. Also, can we do the same by creating a function?
    Please bear in mind that the file is huge
    Thanks in advance

    This sounds like homework for a shell class, but here goes. Save into a file, maybe "doit". Run it like this:
    $ ./doit < data
    <snip>
    #!/bin/sh
    got0=0
    got1=0
    got2=0
    got3=0
    got4=0
    got5=0
    got6=0
    got7=0
    got8=0
    got9=0
    sum=0
    cnt=0
    IFS='|'
    while read c1 c2 c3 junk; do
    # Sum and count
    echo "c1=${c1}"
    case "${c1}" in
    [0-9] )
         sum=$(expr ${sum} + ${c1})
         cnt=$(expr ${cnt} + 1)
    esac
    # Distinct
    case "${c1}" in
    0 )     got0=1;;
    1 )     got1=1;;
    2 )     got2=1;;
    3 )     got3=1;;
    4 )     got4=1;;
    5 )     got5=1;;
    6 )     got6=1;;
    7 )     got7=1;;
    8 )     got8=1;;
    9 )     got9=1;;
    esac
    done
    echo "cnt=${cnt}"
    echo "sum=${sum}"
    echo "distinct="$(expr $got0 + $got1 + $got2 + $got3 + $got4 + $got5 + $got6 + $got7 + $got8 + $got9)
    <snip>

  • How to find files and subdirectories in a directory

    can anyone tell me how to find files and subdirectories in a directory .

    Here's a code snippet,
    http://javaalmanac.com/egs/java.io/TraverseTree.html

  • How to trace changes in directories and files in windows using java.

    Hi,
    Want to know how to trace changes in directories and files in windows using java.
    I need to create a java procedure that keeps track of any changes done in any directory and its files on a windows System and save this data.
    Edited by: shruti.ggn on Mar 20, 2009 1:56 AM

    chk out the bellow list,get the xml and make the procedure.....     
         Notes          
    1     Some of the similar software’s include HoneyBow, honeytrap, honeyC, captureHPC, honeymole, captureBAT, nepenthes.     
    2     Some of the other hacking software’s include keyloggers. Keyloggers are used for monitoring the keystrokes typed by the user so that we can get the info or passwords one is typing. Some of the keyloggers include remote monitoring capability, it means that we can send the remote file across the network to someone else and then we can monitor the key strokes of that remote pc. Some of the famous keyloggers include win-spy, real-spy, family keylogger and stealth spy.          
    3     Apart from theses tools mentioned above there are some more tools to include that are deepfreeze, Elcomsoft password cracking tools, Online DFS, StegAlyzer, Log analysis tools such as sawmill, etc.

  • Order of directories and files listed by the ls command

    Per default, the "ls" command lists directories and non-directories separately in lexicographical order.
    Is there a possibility to change that order of listing and sorting?
    For example, if I want "ls" to list my directories and files not by name but by change date +per default+ without using any additional options, what will I have to do?
    Is there a command or a setting which influcenes "ls"'s order of sorting?

    I don't think the defaults for ls can be changed as it is a compiled binary located in /bin. Besides compiling your own version of ls, one solution is to add lines such as the following to /etc/profile or (presuming you're using BASH) ~/.bash_profile and opening a new Terminal window:
    alias l="ls -l"
    alias ll="ls -la"
    I have two such lines in my own profile so that when I type "l" followed by the return key I get the output of "ls -l" and issuing "ll" gives me a listing of dot-files, too.
    Probably not exactly what you were looking for but it does simplify the command issued at the command line and avoid compiling your own.
    hth,
    Johnnie Wilcox
    aka mistersquid

  • Include all sub-directories and files?

    I did search, so don't complain that this has been asked a billion times.
    I am using Automator to replace text for files and folders. But this only works with the files and or folders I select, it doesn't do it with the sub-directories and sub-files. How can I config. Automator to do this?
    Thanks.

    The various actions operate on whatever is input to them. If you are referring to the *Rename Finder Items* action, you can use the *Get Folder Contents* action to go into sub folders, but be careful, since this action will go into bundles/packages such as applications and RTFD files.

Maybe you are looking for