For what it's worth guys, I tried Bernie's example & file names using the latest 9.1(64) and the 9.1 Power Plugin RBFileOperations and it works fine.
Just so you know, Paul Buckley -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Albert Berry Sent: Saturday, April 16, 2011 8:20 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: copying a 3 component names file See the results below. I did it in 7.6 and 9.1 (64) and it worked just fine. Then I tried with the exact file name you gave in your reply, and got the same results you did - invalid file spec. Weird, to say the least. I also tried adding a .txt to the end of the file name and it told me "Syntax is incorrect for the command RENAME". I guess the system (I am using XP Pro SP 3) doesn't like that particular file name. j Albert ------------------------------------------------------------ R>type this.is.a.multi.dot.file.txt I wonder what is wrong here? R>copy this.is.a.multi.dot.file.txt another.multi.dot.file.txt Copying C:\RBTI\RBG91_64\kc9\this.is.a.multi.dot.file.txt to C:\RBTI\RBG91_64\kc9\another.multi.dot.file.txt R>type another.multi.dot.file.txt I wonder what is wrong here? ------------------------------------------------------------ Albert On 16/04/2011 3:13 PM, Bernard Lis wrote: > This is what I get when I try to copy it: > > R>copy duns129868217.cmp.110413081445827211yP saveit > -ERROR- Invalid source filespec (2281) > > Here is what is in the file: > R>type duns129868217.cmp.110413081445827211yP > 200001H14229905112986821700010017041311081013854M5.0 000 > 02000290121610142299051B233124 12986821700150652 > 010003 901E849 178068011 DSP > 010004 677E2L1478000K638492L14 78000K63 849 > 010005 685EFD10A > > ----- Original Message ----- From: "Albert Berry" > <[email protected]> > To: "RBASE-L Mailing List" <[email protected]> > Sent: Saturday, April 16, 2011 11:36 AM > Subject: [RBASE-L] - Re: copying a 3 component names file > > >> Bernie, the COPY command is supported by R:Base without needing to >> ZIP to it. >> COPY ThisReallyLong.HidingInASubdirectory.File.TXT LongFile.TXT >> >> On 15/04/2011 8:15 PM, Bernard Lis wrote: >>> from the R> (or within a macro) I want to copy a file. The file name >>> is a 3 component name like x.x.x except it is a very long name. >>> I've tried zip copy and zip rollout copy >>> But all I get is "program not found" >>> >>> Thanks in advance, >>> Bernie Lis >>> >>> >> >> > > >

