Or, to be anal:

SET VAR vTemp TEXT = (ENVVAL('TEMP'))
SET VAR vTmp TEXT = (ENVVAL('TMP'))
IF vTemp IS NULL AND vTmp IS NULL THEN
   pause 1 using 'BIG PROBLEMS IN WINDOWS CITY!!'
ELSE
  IF vTemp IS NULL AND vTmp IS NOT NULL
    SET SCRATCH &vTmp
  ELSE
    SET SCRATCH &vTemp
  ENDIF
ENDIF


"Walker, Buddy" <[EMAIL PROTECTED]> wrote:

>Mike
>
>  I believe it maybe a rights issue try setting scratch to a local temp
>folder
>
>  At the R:>SET SCRATCH C:\TEMP
>
>Buddy
>
>-----Original Message-----
>From: Ramsour Mike [mailto:[EMAIL PROTECTED]]
>Sent: Monday, January 28, 2002 2:16 PM
>To: '[EMAIL PROTECTED]'
>Subject: Copy question -- continued
>
>
>Let's try this again.
>
>I have a program that I use to gauge the time it takes to copy a large
>database (1 GB) from one computer to another.
>
>Here is the code:
>
>DISCONNECT
>--
>PAUSE 1
>--
>SET VAR vstart_time TIME = .#TIME
>--
>COPY K:\RBASE\DATA\PMISDATA.* D:\RBASE\DATA
>--
>SET VAR vstop_time TIME = .#TIME
>--
>OUTPUT PRINT
>--
>SHOW VAR %time%
>--
>OUTPUT SCREEN
>--
>QUIT
>
>The curious problem I have encountered is that if I simply type RUN
>COPYTEST.PRG at the R> I immediately get an error that says "Cannot create
>destination file" and the program terminates.  If I TRACE the command file,
>though, it runs just fine.  I am copying from a Windows 2000 system to a
>Windows NT Workstation 4.0 system.  Plenty of memory and disk space, etc.  I
>have tried this with different databases with the same result.  I am running
>the latest version of R:Base for Windows 6.5++.
>
>Any ideas why RUN doesn't work while TRACE does?  Any way to work around it?
>
>Thanks -- Mike Ramsour
>
>p.s.  I just began using the SET ClipBoard command and man do I love it!
>The LISTOF and ITEMCOUNT are "Glorious" too.  Continued thanks and accolades
>to Razzak and the Dream Team.
>
>
>================================================
>TO SEE MESSAGE POSTING GUIDELINES:
>Send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: INTRO rbase-l
>================================================
>TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: UNSUBSCRIBE rbase-l
>================================================
>TO SEARCH ARCHIVES:
>http://www.mail-archive.com/rbase-l%40sonetmail.com/
>================================================
>TO SEE MESSAGE POSTING GUIDELINES:
>Send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: INTRO rbase-l
>================================================
>TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: UNSUBSCRIBE rbase-l
>================================================
>TO SEARCH ARCHIVES:
>http://www.mail-archive.com/rbase-l%40sonetmail.com/
>
-- 




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to