Have a look at the COPY command in the Help The only thing you have to do is paying attention to the use of quotes in the command. If there are spaces in the filename the usage of quotes is needed You also can put the filespec in a variable. Please make sure that the drive + path is included as well as in the source and target filename. And also take care of the possible special characters in the filename like quotes
Hope this helps Tony -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bernard Lis Sent: zaterdag 16 april 2011 4:16 To: RBASE-L Mailing List Subject: [RBASE-L] - copying a 3 component names file 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 --- RBASE-L ================================================ TO POST A MESSAGE TO ALL MEMBERS: Send a plain text email to [email protected] (Don't use any of these words as your Subject: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: INTRO ================================================ TO UNSUBSCRIBE: Send a plain text email to [email protected] In the message SUBJECT, put just one word: UNSUBSCRIBE ================================================ TO SEARCH ARCHIVES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: SEARCH-n (where n is the number of days). In the message body, place any text to search for. ================================================

