Copy to local.bat

From CCMDB Wiki
Jump to navigation Jump to search

for instructions to use see Copying down a clean version of CCMDB.accdb

File Location

The copy_to_local.bat file is located on the Regional Server at:

  • Regional Server\Programs\Master\copy_to_local.bat (full address: \\ad.wrha.mb.ca\WRHA\REGION\SHARED\ICU_DATA_COLLECTION\Programs\Master\copy_to_local.bat)

What the File Does

copy_to_local.bat is a script that copies the most current copy of: CCMDB.accdb from Regional Server\Programs\Master (full address: \\ad.wrha.mb.ca\WRHA\REGION\SHARED\ICU_DATA_COLLECTION\Programs\Master) to the PC/laptop from which it is run. It also copies a new shortcut to the desktop and a new backup.bat file to the batch directory.

Additional Notes

Pagasa and Julie use this to copy the latest version of the CCMDB program to their local PC's when they need to open a collector's backup, for example to Re-sending data.

Log

  • 2019-09-29 - added line to copy new backup.batto the two places where the shortcut and backup.bat might look for it, and testing for those folder with if exist
  • 2019-09-24 - added a better success msg to the end of the batch file
  • 2019-09-18 - changed CCMDB.mdb to CCMDB.accdb

Related articles

Related articles: