Here's an extremely simple program you can modify.  You need a subdir for 

sunday, monday, tuesday, wed, thursday, friday, saturday  

Since this was a fox 2.5 program, I could only use 8 characters for day of week.

Just change the names of the files at the bottom of the program.



********* program backup *******************



set echo off
set step off

memdir='\foxprow\gem\'+cdow(date())

if memdir="\foxprow\gem\Wednesday"
   memdir="\foxprow\gem\wed"
endif

? memdir



run copy debt.cdx &memdir
run copy debt.dbf &memdir
run copy debt.fpt &memdir

run copy gemdebto.dbf &memdir
run copy gemdebto.cdx &memdir
run copy gemdebto.fpt &memdir

run copy payment.cdx &memdir
run copy payment.dbf &memdir

run copy gemclien.cdx &memdir
run copy gemclien.dbf &memdir


quit


--- On Sat, 7/5/08, KAM <[EMAIL PROTECTED]> wrote:

> From: KAM <[EMAIL PROTECTED]>
> Subject: [OT] Looking for an automatic backup program.
> To: "ProFox Email List" <[email protected]>
> Date: Saturday, July 5, 2008, 6:21 PM
> In the past on this list someone suggested 'Handy
> Backup'. I have been using it for a couple of years
> with no problems. Now it
> recently quit working. I sent the log and other information
> to their 'support'. That was last week. No response.
> Everyday I am now
> using a batch file with XCOPY which works perfectly,
> however, I need to automate so it happens between midnight
> and early morning.
> The task manager won't work with the batch file (as far
> as I know) because I want to keep at least 7 older backups
> at all times -
> so the backup needs to be in a folder with the date in the
> name. The backup is on a one computer, but it backs up
> folders from 4
> other computers on the network.
> 
> Anyone have ideas?
> 
> 
> 
> _______________________________________________
> Post Messages to: [email protected]
> Subscription Maintenance:
> http://leafe.com/mailman/listinfo/profox
> OT-free version of this list:
> http://leafe.com/mailman/listinfo/profoxtech
> Searchable Archive: http://leafe.com/archives/search/profox
> This message:
> http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
> ** All postings, unless explicitly stated otherwise, are
> the opinions of the author, and do not constitute legal or
> medical advice. This statement is added to the messages for
> those lawyers who are too stupid to see the obvious.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to