Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 920
  • Last Modified:

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

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
Anne

0
antibia
Asked:
antibia
1 Solution
 
qwaleteeCommented:
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.
0
 
antibiaAuthor Commented:
Hello qualetee,

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

Anne
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now