The temporary folder name begins with S, followed by a number representing the session of the database engine during which the operation took place. Because your operating system controls the location of temporary files, the exact path returned may be different from the examples shown. The actual path returned also depends on which product (FileMaker Pro or FileMaker Server) is executing the function.
where %HomeDrive% is an environment variable that returns the name of your home drive on your hard disk.
%UserProfile% is an environment variable that points to the directory where the profile of the current user is located.
S<n> is the name of the folder in which the temporary files are placed (for example, S1);
<n> is a number representing the database engine session during which the operation took place.
where DriveName is the name of your hard disk.
S<n> is the name of the folder in which the temporary files are placed (for example, S1);
<n> is a number representing the database engine session during which the operation took place.