Javier, Alastair,
Thanks for your reply -- but --
1. I cannot change the name of the file, I get it from another company, have
to input data into rbase, add data and send it back to that company.
2. use of double quotes results in error, single quotes copies but still
losses middle component.
3. where did you get MOVE from ?
4. I can copy the file correctly by doing it in windows explorer, but I need
to do it in a command file.
5. There must be a way - anyone know the secret?
Bernie Lis
----- Original Message -----
From: "Alastair Burr" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Wednesday, October 12, 2005 3:06 AM
Subject: [RBG7-L] - Re: copy problem
Bernie,
Try putting the file name in double quotes:
COPY "xx.yy.zz" C:\Temp
Also, don't forget _not_ to use a filename in the TO portion of the
command.
If you do want to change name as well then use MOVE (with double quotes):
MOVE "xx.yy.zz" "C:\Temp\aa.bb.cc"
In R:Base try setting variables to the source and destination:
SET VAR vSouce TEXT = ' "xx.yy.zz" '
SET VAR vDest TEXT = ' "aa.bb.cc" '
(I've put spaces between the quotes just to show the two types.)
then use whichever variable type - dotted or ampersand - works with copy:
COPY &vSouce &vDest
Good luck & regards,
Alastair.
----- Original Message -----
From: "Bernard Lis" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Wednesday, October 12, 2005 2:42 AM
Subject: [RBG7-L] - copy problem
Try this --
Create a file called xx.yy.zz put some dummy info into it.
then copy xx.yy.zz to some other folder
I got xx.zz the yy component disappeared
Are we not able to copy a 3 component file in a command file?
Bernie Lis
--- RBG7-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.
================================================