M
Mark
Hi,
At work, on the frontend database, I have a command button which uses Winzip
to zip the backend database and copy it to a floppy. The user can then take
this floppy to their home computer and update their home version of the
backend database.
The problem is that Winzip will not unzip from the floppy and replace the
existing home backend because that file is in use (the database is open with
its linked tables). The command line is as follows:
cmdstring = "C:\Program Files\Winzip\winzip32 -e -o a:\fpsdata.zip
C:\Access97\". (The "-e" is to extract; the "-o" is to overwrite).
I suspect I wouldn't have any problem if I were using Pkzip, but then I
would have to have that installed on all the users' home computers.
I'm thinking that a workaround is to unzip the file from the a-drive to
another folder and then using the Windows File Copy command to copy and
replace the actual backend -- hoping that Windows would let me replace the
(open) backend database even though Winzip wouldn't.
Questions:
What is the syntax for the Windows File Copy command, and is there a better
method for automating this process? (I hate having to walk users through
this process each time using Windows Explorer!).
Thank you.
Mark
At work, on the frontend database, I have a command button which uses Winzip
to zip the backend database and copy it to a floppy. The user can then take
this floppy to their home computer and update their home version of the
backend database.
The problem is that Winzip will not unzip from the floppy and replace the
existing home backend because that file is in use (the database is open with
its linked tables). The command line is as follows:
cmdstring = "C:\Program Files\Winzip\winzip32 -e -o a:\fpsdata.zip
C:\Access97\". (The "-e" is to extract; the "-o" is to overwrite).
I suspect I wouldn't have any problem if I were using Pkzip, but then I
would have to have that installed on all the users' home computers.
I'm thinking that a workaround is to unzip the file from the a-drive to
another folder and then using the Windows File Copy command to copy and
replace the actual backend -- hoping that Windows would let me replace the
(open) backend database even though Winzip wouldn't.
Questions:
What is the syntax for the Windows File Copy command, and is there a better
method for automating this process? (I hate having to walk users through
this process each time using Windows Explorer!).
Thank you.
Mark