instant000
3rd November 2008, 19:19
I have three questions. Please answer if you can. Thanks in advance!
I notice that in our Baan, when it makes temporary files, it likes to put them in this directory: c:\temp
For example: When I want to export to certain formats, Baan will export the document to c:\temp\tmpfilename.extension, and then open the file.
(1) Is this normal? (2) Is this something I can modify?
I'd like to specify this directory to be pointing to the Windows environment variable for temp. (3) How can I force Baan to do this?
All clients are running Windows OS, so the environment variable looks similar to this:
TEMP=C:\DOCUME~1\USERNAME\LOCALS~1\Temp
TMP=C:\DOCUME~1\USERNAME\LOCALS~1\Temp
The problem with Baan using the C:\temp is manifested in having to create this directory, and assign it the appropriate permissions.
If I can change it to reference the user profile, then I can be carefree, and not have to change anything else.
If it MUST use this location, then I will know that I need to automate the following batch file as a tack-on to all installations:
> creating the directory, via "md"
> assigning the permissions, via "cacls"
> cleaning out the directory periodically, via "schtasks"
Obviously, I like things as effortless as possible. (What's the point of a computer, if I'm doing all the work?)
I have some multi-user systems, so troubleshooting would be slightly easier, if I ever have to look at any issues with these files, if I know that userA and userB can't ever mix up their temp files. I have not had this issue yet, but I can never predict what a user will do.
Thanks for your assistance!
I notice that in our Baan, when it makes temporary files, it likes to put them in this directory: c:\temp
For example: When I want to export to certain formats, Baan will export the document to c:\temp\tmpfilename.extension, and then open the file.
(1) Is this normal? (2) Is this something I can modify?
I'd like to specify this directory to be pointing to the Windows environment variable for temp. (3) How can I force Baan to do this?
All clients are running Windows OS, so the environment variable looks similar to this:
TEMP=C:\DOCUME~1\USERNAME\LOCALS~1\Temp
TMP=C:\DOCUME~1\USERNAME\LOCALS~1\Temp
The problem with Baan using the C:\temp is manifested in having to create this directory, and assign it the appropriate permissions.
If I can change it to reference the user profile, then I can be carefree, and not have to change anything else.
If it MUST use this location, then I will know that I need to automate the following batch file as a tack-on to all installations:
> creating the directory, via "md"
> assigning the permissions, via "cacls"
> cleaning out the directory periodically, via "schtasks"
Obviously, I like things as effortless as possible. (What's the point of a computer, if I'm doing all the work?)
I have some multi-user systems, so troubleshooting would be slightly easier, if I ever have to look at any issues with these files, if I know that userA and userB can't ever mix up their temp files. I have not had this issue yet, but I can never predict what a user will do.
Thanks for your assistance!