Executing commands or copy a folder using Adobe Air

Posted on 2008-11-13
Last Modified: 2012-05-05
Hello, Experts

How to execute any command like "dir" in windows or "ls" is unix using Adobe Air?

Also I want to know if there is a simple method for copying a directory.
Question by:biztiger
    LVL 7

    Accepted Solution


    The Adobe help is pretty comprehensive on Air file operations with example code.

    listing directory contents:

    copying directories:

    Are you looking for a working example?
    LVL 8

    Author Comment

    Thanks! but how to execute any command using Air.

    Let me know if it is not possible.
    LVL 7

    Expert Comment


    Not possible.

    I use Zinc for this kind of thing, it's much more flexible than Air for building desktop applications. It also doesn't require a runtime installer which means you can run it straight off a CD if required. It is not free however. Go to to try it out.

    LVL 8

    Author Closing Comment

    Thanks for your help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Android App Development

    This course will involve creating widgets, customize list view, grid view, spinners, etc. Creating applications using audio, video, and SQLite database. Ending with publication on Google Play.

    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now