I'm pretty convinced I've missed something basic, but it's not that one <g>. The set scratch block I use should prevent referring to a dir that doesn't exist anyway.
Thanks, Ben Petersen On 7 Feb 2003, at 22:32, Walker, Buddy wrote: > Ben > Maybe this is basic or you already covered this but I didn't see it > any where. > Since this is a WIN98 workstation make sure the autoexec.bat file > contains > > SET TEMP=C:\TEMP > SET TMP=C:\TEMP > > Of course make sure the C:\TEMP folder/directory exists. > > Buddy > > -----Original Message----- > From: Ben Petersen [mailto:[EMAIL PROTECTED]] > Sent: Fri 2/7/2003 9:58 AM > To: [EMAIL PROTECTED] > Cc: > Subject: [RBASE-L] - Runtime prob with "set scratch" > > > > This _must_ be a big duh. > > I'm setting up a new install for RBW 6.5+ runtime on a Win98 > machine. The first time out I got a message "Can't create > temporary file..." just as the app starts. I can make menu choices, > but none of the code behind the choice executes. > > So, slap forehead, and add "set scratch..." commands to the start up > file. At which point, RBASE.DAT connects to the database OK, there's a > quick screen flash like the APX tried to execute, and then I'm back to > the C:> prompt. > > So with Scratch set the APX won't go so far as the first menu, > without scratch set the apx displays the opening menu, I can > highlight and make a choice, but nothing happens. > > Here is rbase.dat that serves as the startup file: > --------------------------------------------------------------------> SET STATICDB >OFF SET MULTI ON CONNECT \btw\tc SET NULL ' ' SET > ERROR VAR ErrVal SET MESSAGES OFF SET ERROR MESSAGES OFF SET V > TempDir Text = (FINDFILE(ENVVAL('TEMP'))) > > If TempDir Is Not Null Then > Set Scratch .TempDir > EndIf > > SET V MICRORIM_FULLOPT = 7 > SET v MICRORIM_F2MAXBLK = 64 > SET v MICRORIM_F3MAXBLK = 256 > > Set v Microrim_TMPmaxblk = 64 > Set v Microrim_BTmaxblk = 64 > > SET FILES 20 > SET BELL OFF > SET WHILEOPT OFF > > Run Cloud in Cloud.apx > > Exit > -------------------------------------------------------- > > TIA, > > Ben Petersen >

