At 12:41 PM 6/10/2008, Dan Goldberg wrote:

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,

Could you reveal the values for dotted variable (.vrun)?

You may need to add another slash "\", if appropriate.

Example:

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

Also, verify the correct drive letter and folders, etc.

Hope that helps!

Very Best R:egards,

Razzak.

Reply via email to