tags:

views:

28

answers:

2

Hello-

I'm seeking the DOS syntax to copy a access database from lets say Z:\Data\Test.mdb to C:\Temp

How can I do this?

many thanks.

+5  A: 
copy Z:\Data\Test.mdb  C:\Temp

TIP:

When you're not sure what command to use in DOS, bring up a command prompt and type help. Also, if you see a command you want to know more about, you can type the command followed by /? and you'll get the help for it. For example, typing copy /? will show you the usage.

dcp
Anohter tip: MDB files are frequently opened with exclusive access. If that is the case you won't be able to copy the file without closing the program that has it open.
torak
@torak - Yet another tip, to find out what has the file opened, you can use the handle.exe utility from here: http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx
dcp
@dcp: I prefer Process Explorer from http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx.
torak
A: 

Depending on your operating system version, you might want to look at XCOPY or ROBOCOPY which provide some more advanced file/folder copying features.

Dev F