In one of my apps, when you exit, it offers to backup your data
I use Azip and you can name your file and destination
It so happens my client told it to backup to C:\KCB.ZIP
System is on Win7
When he tried to restore, the file was not there
I tried this on MY Win7 system
My routine told me it had made a backup and that it could see the file
i.e. (mbaks=C:\KCB.ZIP)
mybackup=azip(.T.,"&mbaks","*.dbf *.fpt *.cdx *.fr? -foxuser.*")
If !File("&mbaks")
=Messagebox('OOPS something did not work and your backup is NOT
successful ',0,'WARNING')
else
=messagebox('Backup file created',0,'')
endif
I tried this in the command box
?File("&mbaks")
Answer is .T.
I type DIR C:\*.ZIP
and it tells me the files found are: c:\kcb.zip
I check it with explorer and CMD, both tell me the file is NOT there
What am i missing ?
--
Regards
Sytze de Boer
Kiss Systems
Hamilton, NZ
Ph: 64-7-8391670, Mob:64 21 937611
URL: www.kiss.co.nz
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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.