Lotus Script: Where can i put temporary files on Mac OS X?

Posted on 2004-12-01
Last Modified: 2013-12-18
Hello out there,

i have some Lotus Script Code that stores some data in a temporary directory. In Windows it just uses c:\temp\ which works almost always. On a Mac it seems to be difficult. Although there is a /tmp/ directory can't create a file in there. It says the directory doesn't exist. Changing rights to 777 didn't help. Probably i have to access the paths in a different way?

Thanks for help

Question by:antibia
    LVL 31

    Accepted Solution

    Pick up the Notes data directory from NOTES.INI (well, Notes preferences, on the Mac).

    Use NotesSession.GetEnvironmentString("Directory", true)

    You may want to create your own temp folder within there, so it doesn't getmixed in with "real" Notes data.

    Author Comment

    Hello qualetee,

    not exactly what i wanted but works fine. Many thanks :-)


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
    This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    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

    12 Experts available now in Live!

    Get 1:1 Help Now