You might want to do it like this set v scanname = oldname.jpg set v imagsname = newname.jpg set v cmd = (copy & .scanname & .imagsname) &cmd
in essence you put the whole command into a variable an then execute it with the & Ben Johansen - http://www.pcforge.com Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm Latest downloads & List Archives @ http://www.witango.ws -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Thomas J Cimicato Sent: Wednesday, August 21, 2002 1:15 PM To: [EMAIL PROTECTED] Subject: Rename & Copy I have a 4.5++ program that does a copy and then a rename on a file. I converted it to 6.5++ (1.851xRT03) and now both the copy and the rename statement generate errors in both DOS and Windows version. The command works at the R:> prompt but not in the program or trace. Copy &scanname &Imgsname Rename &scanname &Imgsname &scanname is exactly 50 characters long which include the full path and filename. &Imgsname is 48 characters long. Any thoughts??? Thanx Thom Cimicato Thomas J Cimicato President Integrated Check Technologies Collect-A-Check, Inc. ------------------------------------------------------------ Bus:800.338.0676 614-55-CHECK Fax:614-552-4439 Mailto:[EMAIL PROTECTED] www.ICheckTech.com ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/ ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
