|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
simple cmd/exe script to copy a database file
I would like to transfer a database .mdb file from one server to another server. So, if anyone can help me in writing a cmd or exe file that could do this I would appreciate it.
THANKS IN ADVANCE |
|
#2
|
||||
|
||||
|
Code:
CLS @echo off echo Copying yucky Access file... COPY \\SERVER\volume\db4.mdb \\SERVER\volume\temp\db4.mdb echo All done - your Access file has been totally fragged... PROMPT $P$G @echo on You just need to change SERVER and volume to the appropriate values for the server name and the volume on that server on the COPY line above. |
|
#3
|
||||
|
||||
|
Erm. don't forget to name Ctb's file as something ending in .bat, say "backup.bat", so that Windoze will recognize it as a BATch file. Windoze won't know what to do with it, if it doesn't recognize the file extension.
|
|
#4
|
||||
|
||||
|
//LOL
Not necessarily... one time I set up Windoze so that text files were executed by cmd.exe - everytime the poor guy double-clicked a .txt file, a command prompt opened up! |
|
#5
|
||||
|
||||
|
LOL
I have done fun things like that. IE Associate Word Documents to a system call that causes machine to shutdown, very good fun ![]() |
![]() |
| Viewing: Dev Shed Forums > Other > Dev Shed Lounge > simple cmd/exe script to copy a database file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|