Dan,

Try putting quotes around the path first.
SET VAR VPATH = (''''+ r:\sawverify\run+'''')
SET VAR vrunexp = ('delete'+.vpath + .vrun + '.xls')
&vrunexp

Claudine 


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Goldberg
Sent: Tuesday, June 10, 2008 11:41 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Delete command

I have a delete command that I am trying to run to delete a file and when I
try to run it I get the error:

"Syntax is incorrect for the command delete"

Here is a snippet of my code:

SET VAR vrunexp = ('delete r:\sawverify\run' + .vrun + '.xls')
&vrunexp

I have tried putting quotes around the filename/path as well as the ` 

Does anybody have any suggestions??

Dan Goldberg


Reply via email to