Claudine

 

  As a last resort you could add the following to your code  I’m assuming you 
are running this from R:Base X

 

Buddy

 

 

*************************Add to your code******************

  OUTPUT doerasfile.bat

  WRITE 'DEL' .vfilename2

  WRITE 'COPY' .vfilename1 .vfilename2

  OUTPUT TERM

 

  LAUNCH doerasfile.bat

 

********************End Code***********************

 

From: rbase-l@googlegroups.com [mailto:rbase-l@googlegroups.com] On Behalf Of 
Claudine Robbins
Sent: Friday, February 3, 2017 4:41 PM
To: rbase-l@googlegroups.com
Subject: RE: [RBASE-L] - ERASE filespec

 

Nothing works so I’m just going to wait until next Wednesday and see if a new 
Windows Update isn’t released to fix whatever the problem is.  I’m experiencing 
the same behavior on the cloud server too…

 

From: rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com>  
[mailto:rbase-l@googlegroups.com] On Behalf Of Alastair Burr
Sent: Friday, February 03, 2017 6:33 AM
To: rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com> 
Subject: Re: [RBASE-L] - ERASE filespec

 

I think, "technically" you DELete records from a database and ERASE files from 
the directory/folder.

I usually make sure that I have the DOS command correct and then in R:Base 
create a variable & activate that:

SET VAR vEraseFile TEXT = 'ERASE C:\Temp\*.*'
&vEraseFile 

and

SET VAR vEraseFile TEXT = 'ERASE "C:\Temp\Folder with spaces\*.*" '


Regards,
Alastair.

On 02/02/2017 20:24, Claudine Robbins wrote:

Thanks Dan and Buddy,

 

ERASE or DELETE get the same result.  No spaces in filename2.  Both filename1 
and filename2 are UNC.

 

Commands work at R:> prompt…

 

From: rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com>  
[mailto:rbase-l@googlegroups.com] On Behalf Of Buddy Walker
Sent: Thursday, February 02, 2017 2:01 PM
To: rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com> 
Subject: RE: [RBASE-L] - ERASE filespec

 

Sorry send button to easy to hit :)

 

If the filename2 contains spaces then you will need to enclose in filename2 in 
quotes.

 

Buddy

 

 

From: rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com>  
[mailto:rbase-l@googlegroups.com] On Behalf Of Claudine Robbins
Sent: Thursday, February 2, 2017 2:36 PM
To: rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com> 
Subject: [RBASE-L] - ERASE filespec

 

Hello all,

 

I’m having a bit of a headache with an ERASE filespec command which has worked 
reliably for weeks, works reliably from the R:> prompt and yields “Failed 
deleting… (2262)” then “Cannot create destination file (2086)” from within a 
form when I:

ERASE .filename2

And

COPY .filename1 .filename2

 

Permissions are ok…  Undoubtedly my fault but I can’t find it, help!

 

TIA,

 

Claudine

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com 
<mailto:rbase-l+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com 
<mailto:rbase-l+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com 
<mailto:rbase-l+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

 

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com 
<mailto:rbase-l+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com 
<mailto:rbase-l+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to