faheemhameed Posted December 29, 2004 Posted December 29, 2004 Hi there, I want to know is there a function which can return the temp folder path? I want to use this function both in windows & mac. If not in filemaker, is there a plugin available which does this? I am using FMP6.x Thanks Hameed
CobaltSky Posted December 29, 2004 Posted December 29, 2004 Hello faheemhameed, FileMaker's native capability (from v5.5) includes a function to return the path to the file, but I'm afraid that there is no built-in mechanism which will return the path to the temp folder. I suggest that you take a look at the shareware plug-in Troi File from Troi Automatisering. It includes the functionality you are looking for in the form of an external function: TrFile_FindFolder( "-Temporary" ) - which will return the full path to the temporary folder on the startup disk on either Mac OS or Windows.
Wim Decorte Posted December 29, 2004 Posted December 29, 2004 Without a plugin it can be done with the command line (or VBscript) on Windows and Applescript on the Mac. But the plugin is a lot easier.
transpower Posted December 29, 2004 Posted December 29, 2004 In Windows, the command to see the temp directory is SET T. So you could use this in Send Event with CMD or just call a batch file.
faheemhameed Posted December 30, 2004 Author Posted December 30, 2004 Thank you all for your help. I already have the troi plugin. The function you indicated has worked fine for me. External("TrFile-FindFolder", "-Temporary" ) Thanks Hameed
Recommended Posts
This topic is 7271 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now