On 7/4/2010 8:08 PM, Sytze de Boer wrote:
> 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 ?
>
>    

At a command prompt, DIR > C:\TEST.TXT returns an Access Denied message. 
Could the back up file be in the current directory of the application?

Tracy

_______________________________________________
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