Yes, but a very long time ago now I had backup copying problems and ended up with errors that eventually were solved by everything being right not necessarily just what appeared to be wrong. I remember expanding all the variables so that the command was simply copy: "sourcefiles" "destination" - so without the &var and with quotes to allow spaces

Stupid question I'm sure but there really are files to copy at the time?

Has windows been upgraded? If so defaults might not be the same.

Good luck, Alastair.


On 26/06/2023 15:59, 'jim schmitt' via RBASE-L wrote:
Thanks, Alastair:

Yes, there are three spaces in the VF_TO variable, but isn't the 'cannot open source file' referring to the 'C:\UBILL\*.*' of the copy command ?

Still searching.     Jim


On Monday, June 26, 2023 at 10:50:22 AM EDT, Alastair Burr <[email protected]> wrote:


Looks to me that you have a space, just before AM - possibly due to date/time format change. Filenames with spaces need to be in double quotes  for system copy.

Rwgards. Alastair.

On 26/06/2023 15:01, 'jim schmitt' via RBASE-L wrote:
Good Moring, group:

I have a Utility Billing program running at several villages, and the backup routine which does a backup to an external drive has failed lately at 3 clients with the same error message of 'cannot open source file (2085).  I wrote the routine years ago, and it is quite simple.  I create a variable of 'location/name/time/date' for where we are sending the data to (VF_TO}'.   This is because the operator may do multiple backup on any given day.

The command is:  COPY C:\UBILL\*.* &VF_TO

Sample trace attached. Am i doing the simplest way for a backup or others have a better way. ??
Any 'blues' clues.

Thanks for any assistance.

Jim
--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php <http://www.rbase.com/support/usersgroup_guidelines.php>
---
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/2029899591.5130715.1687788099654%40mail.yahoo.com <https://groups.google.com/d/msgid/rbase-l/2029899591.5130715.1687788099654%40mail.yahoo.com?utm_medium=email&utm_source=footer>.
--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/DUZPR10MB80996122BF106084F681C3D0AC26A%40DUZPR10MB8099.EURPRD10.PROD.OUTLOOK.COM <https://groups.google.com/d/msgid/rbase-l/DUZPR10MB80996122BF106084F681C3D0AC26A%40DUZPR10MB8099.EURPRD10.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.
--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/338283074.5153202.1687791564491%40mail.yahoo.com <https://groups.google.com/d/msgid/rbase-l/338283074.5153202.1687791564491%40mail.yahoo.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/DUZPR10MB80994FC06D8B9FB77E6D6956AC26A%40DUZPR10MB8099.EURPRD10.PROD.OUTLOOK.COM.

Reply via email to