At 10:19 AM 9/25/2009, [email protected] wrote:

I always used this code to check for the existence of a C:\TEMP
directory (my usual Scratch directory) and create it if it doesn't
exist.  One user would always have program crashes, and it turns
out that he had no C:\TEMP directory, but he had a  file on his
computer called C:\TEMP with no extension! So it never created the
directory!   What are the odds?

Instead of manually mucking with the SCRATCH settings, you should
take advantage of ENHANCED built-in "SET SCRATCH TMP" option.

The default keyword (TMP) allows R:BASE or Oterro sessions to
use the Windows' User Environment TMP Variable setting for
SCRATCH files on startup. This will also eliminate all issues
related to setting the SCRATCH directory and related files.

This default setting also enables R:BASE/OTERRO to write scratch
files without being concerned about read, write, and delete
permissions on the network/local folders.

To take advantage of this setting, use the option "SCRATCH TMP"
in the appropriate R:BASE and OTERRO configuration files or use
the "SET SCRATCH TMP" command in your application startup files.

Did you know that you can use "SET SCRATCH TMP" command at the
R> prompt or in your application startup file?

Using the latest updates of R:BASE 7.6, Turbo V-8, and R:BASE
eXtreme 9.0 for Windows, you can. Previously, "TMP" option could
only be used in the configuration (.CFG) files.

You can also use the enhanced Settings | Configuration Settings
option of the Database Explorer to define SCRATCH settings:

R:BASE 7.6, Turbo V-8, and R:BASE eXtreme 9.0 for Windows:

Database Explorer | Settings | Configuration Settings...

http://www.rbase.com/rbg76/ScratchSettings.jpg
http://www.rbase.com/rbg8/ScratchSettings.jpg

Enjoy and make sure to have fun!

Very Best R:egards,

Razzak.


Reply via email to