Copy Database

  • Thread starter Thread starter JF Bouthillier
  • Start date Start date
J

JF Bouthillier

Hi all,

Does someone know of an easy way to have a command button
copying a database to a floppy disk?

Thanks.
JF
 
in message:
Hi all,

Does someone know of an easy way to have a command button
copying a database to a floppy disk?

Did you see MVP Doug Steele's response to your previous message
FileCopy "C:\SomeFolder\SomeFile.mdb", "A:\SomeFile.mdb"

You can't use this to copy the current database, though (nor any other file
that's in use). However, that shouldn't be viewed as a limitation of the
method: you should never copy an open database, as it's likely to end up in
an inconsistent state. (Yes, I know there are methods that will allow you to
copy an open file, but just because you can doesn't mean you should...)
[/QUOTE][/QUOTE][/QUOTE]
 
Whether you'd find many databases that would actually fit on a floppy is
another question though!

--
Paul Overway
Logico Solutions
http://www.logico-solutions.com


Jeff Conrad said:
in message:


Did you see MVP Doug Steele's response to your previous message

FileCopy "C:\SomeFolder\SomeFile.mdb", "A:\SomeFile.mdb"

You can't use this to copy the current database, though (nor any other
file
that's in use). However, that shouldn't be viewed as a limitation of the
method: you should never copy an open database, as it's likely to end up
in
an inconsistent state. (Yes, I know there are methods that will allow you
to
copy an open file, but just because you can doesn't mean you should...)
[/QUOTE]
[/QUOTE]
 
This command line will copy your MDB even if you currently working with it

res = shell("xcopy c:\MDBNAME.mdb A:\")
 
Back
Top