njpilot172
Programmer
How can I force VFP to use a shared network drive for its TEMP folder?
Background:
My client has decided to use M$ Terminal Services to solve its networking woes. ALL users now log in to Terminal Services to access their apps. NO users have any rights to anything on the C: drives of the terminal servers.
VFP attempts to create a C:\[indexname].idx file each time the application indexes a (temporary) cursor. This causes an error as the users do not have sufficient rights to create C:\[Indexname].Idx.
I have created a simple form for the users to display the value of SYS(2023). SYS(2023) states that the temp directory is C:\Documents and Settings\Username\Local Settings\Temp. This does not work, however, as the systems administrators will not allow any files to be saved on the Terminal Servers.
How can I specify the temp file from within my application. I would prefer NOT to have to re-code all Index On commands to include a filename.
TIA
Background:
My client has decided to use M$ Terminal Services to solve its networking woes. ALL users now log in to Terminal Services to access their apps. NO users have any rights to anything on the C: drives of the terminal servers.
VFP attempts to create a C:\[indexname].idx file each time the application indexes a (temporary) cursor. This causes an error as the users do not have sufficient rights to create C:\[Indexname].Idx.
I have created a simple form for the users to display the value of SYS(2023). SYS(2023) states that the temp directory is C:\Documents and Settings\Username\Local Settings\Temp. This does not work, however, as the systems administrators will not allow any files to be saved on the Terminal Servers.
How can I specify the temp file from within my application. I would prefer NOT to have to re-code all Index On commands to include a filename.
TIA