vfp备份代码
来源:百度知道 编辑:UC知道 时间:2024/05/14 18:48:06
close all
yml=thisform.pageframe1.page1.Text1.value
mbml=thisform.pageframe1.page1.Text2.value
copy file &yml\*.dbf to &mbml\*.dbf
copy file &yml\*.fpt to &mbml\*.fpt
messagebox("数据备份完毕!","提示")
copy file &yml\*.dbf to &mbml\*.dbf
copy file &yml\*.fpt to &mbml\*.fpt
这两句是什么意思~~请大哥大姐帮忙帮忙~~~
yml=thisform.pageframe1.page1.Text1.value
mbml=thisform.pageframe1.page1.Text2.value
copy file &yml\*.dbf to &mbml\*.dbf
copy file &yml\*.fpt to &mbml\*.fpt
messagebox("数据备份完毕!","提示")
copy file &yml\*.dbf to &mbml\*.dbf
copy file &yml\*.fpt to &mbml\*.fpt
这两句是什么意思~~请大哥大姐帮忙帮忙~~~
&yml\*.dbf 备份到&mbml\*.dbf
&这个是宏代换符号
&yml\*.fpt 表备注备份到 &mbml\*.fpt
yml一定是一个路径吧,如c:/vfp/,字符型得估计
代码意思就是yml目录下得dbf和表备注文件fpt备份到mbml这个目录下