MENU BACKUP :
a = SYS(5)+SYS(2003)+"\c:\folder_aplikasi_anda"
b = SYS(5)+SYS(2003)+"\pkzip25 -add c:\folder_aplikasi_anda\nama_file_hasil.bck "+SYS(5)+SYS(2003)+"\*.dbf"
WAIT WINDOW[Proses Back up..]NOWAIT
LOCAL clok
clok=b
CLOSE TABLES ALL
CLOSE DATABASES ALL
RUN &clok
WAIT WINDOW[Proses Back up Selesai]NOWAIT
MESSAGEBOX('Data Telah Berhasil Di Buckup...!',0+64,'KONFIRMASI')
MENU RESTORE :
a = SYS(5)+SYS(2003)+"\C:\Folder_aplikasi_anda"
b = SYS(5)+SYS(2003)+"\pkzip25 -extr C:\Folder_aplikasi_anda\nama_file_hasil.bck"
WAIT WINDOW[Proses Back up..]NOWAIT
LOCAL clok
clok=b
CLOSE TABLES ALL
CLOSE DATABASES ALL
RUN &clok
WAIT WINDOW[Proses Restore Selesai]NOWAIT
MESSAGEBOX('Restore Data Telah Berhasil...!',0+64,'KONFIRMASI')
Demikian semoga bisa membantu
Untuk mendownload software silahkan klik PKZIP25
0 comments:
Post a Comment