How to create/delete a folder and its content

Posted on 2006-05-16
Last Modified: 2010-04-27

 Is there a way from within filemaker 8 to create or delete a directory - which I need to use to hold temporary files that are saved from containers when emailing attachments.


Question by:birissou
    LVL 28

    Accepted Solution

    bonjour Bertrand!
    no you can't. you could use a plug-in to handle that, but it is probably easier to use the system temp folder.
    its value is know from a shell variable %temp%, so any shell script can use that to create then delete some files.
    and these scripts can be triggered by fm using "send event".
    if under osX, I need to try, since I have not tried yet to trigger shell scripts with fm, so let me know if you use windows or macos
    LVL 28

    Expert Comment

    fyi, I have created a small shell script called by an applescript command which can create and delete a folder on disk under osX.
    is is a bit more complex than under windows, but does the job.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
    Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 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

    19 Experts available now in Live!

    Get 1:1 Help Now