Copy to local.bat: Difference between revisions
Ttenbergen (talk | contribs) m →Additional Notes: lnk |
Ttenbergen (talk | contribs) m Text replacement - "[[Category: " to "[[Category:" |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'' for instructions to use see [[Copying down a clean version of CCMDB. | '' 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== | ||
The | The copy_to_local.bat file is located on the [[Regional Server]] at: | ||
* | *{{Regionalserver|Programs\Master\copy_to_local.bat}} | ||
==What the File Does== | ==What the File Does== | ||
* | * everything copy_to_local.bat does is logged to the log file fixlog2.txt in the same directory as the batch file. | ||
* | * Steps the file does: | ||
*to the | ** 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]] |