try placing a pause after each line to see where you are hanging up.
Also, if you have good eyes, turn ECHO ON before running it.  Keep me posted.
I have had similar problems where trace works but run won't very strange!

Mike

Ramsour Mike wrote:

> 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/

Reply via email to