Copy to local.bat: Difference between revisions

m Text replacement - "[[Category: " to "[[Category:"
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
'' for instructions to use see [[Copying down a clean version of CCMDB.mdb]]
'' for instructions to use see [[Copying down a clean version of CCMDB.accdb]]
copy_to_local.bat is a script that copies the most current copy of [[CCMDB.accdb]] from {{Regionalserver|Programs\Master}} to the PC/laptop from which it is run.
 
Because H6 laptop is set up with two copies of ccmdb, it uses '''copy_to_local-H6.bat''' instead.


==File Location==
==File Location==
Line 6: Line 9:


==What the File Does==
==What the File Does==
*copy_to_local.bat is a script that copies the most current copy of: [[CCMDB.mdb]]
* everything copy_to_local.bat does is logged to the log file fixlog2.txt in the same directory as the batch file.
*from \\ad.wrha.mb.ca\WRHA\REGIONWRHA\SHARED\ICU_DATA_COLLECTION\Programs\Master
* Steps the file does:
*to the PC/laptop from which it is run.  
** copy newest version of [[CCMDB.accdb]] to local
** copy new shortcut for CCMDB to the current user's desktop (ideally that would be the public user one, but we don't have rights to it)
** copy down a new version of [[backup.bat]]


==Additional Notes==
==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]]'''.
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]]'''.


[[Category: IT Instructions]]
== Log ==
[[Category: Batch Files]]
* 2019-09-29 - added line to copy new [[backup.bat]]to the two places where the shortcut and [[backup.bat]] might look for it, and testing for those folder with if exist
[[Category: Data processing batch files]]
* 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}}
 
 
[[Category:IT Instructions]]
[[Category:Batch Files]]
[[Category:Data processing batch files]]