469,159 Members | 1,507 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,159 developers. It's quick & easy.

backup and recovery

13
Hello Vb experts

I have one problem in my project .i used MS-Acess as my Backend.I want to take backup i used the coding

fsys.CopyFile "D:\jai\db\milk.mdb", "D:\jai\db\Backup\", True

What is wrong in it? Please any one help me please?It shows the error path not found while i run it.

Thanking You
Rathiga
Sep 6 '07 #1
1 710
fplesco
82
Hello Vb experts

I have one problem in my project .i used MS-Acess as my Backend.I want to take backup i used the coding

fsys.CopyFile "D:\jai\db\milk.mdb", "D:\jai\db\Backup\", True

What is wrong in it? Please any one help me please?It shows the error path not found while i run it.

Thanking You
Rathiga
Hey -

You've missed the filename of the backup file.
Expand|Select|Wrap|Line Numbers
  1.  fsys.CopyFile "D:\jai\db\milk.mdb", "D:\jai\db\Backup\milk.mdb", True 
  2. or
  3.  fsys.CopyFile "D:\jai\db\milk.mdb", "D:\jai\db\Backup\milk_backup.mdb", True
  4.  
Sep 7 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Andrew E | last post: by
3 posts views Thread by A.M. de Jong | last post: by
3 posts views Thread by Tim Morrison | last post: by
3 posts views Thread by Raquel | last post: by
9 posts views Thread by Stanley Sinclair | last post: by
2 posts views Thread by m19peters | last post: by
2 posts views Thread by clilush | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.