December 29, 200421 yr 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
December 29, 200421 yr 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.
December 29, 200421 yr 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.
December 29, 200421 yr 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.
December 30, 200421 yr Author 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
Create an account or sign in to comment