{"id":2625,"date":"2020-02-15T11:21:00","date_gmt":"2020-02-15T10:21:00","guid":{"rendered":"https:\/\/aviation.pero-online.de\/wordpress\/?p=2625"},"modified":"2022-11-29T07:57:43","modified_gmt":"2022-11-29T06:57:43","slug":"batch-file-to-backup-and-merge-jeehell-config-after-update","status":"publish","type":"post","link":"https:\/\/aviation.pero-online.de\/wordpress\/batch-file-to-backup-and-merge-jeehell-config-after-update\/","title":{"rendered":"Batch file to backup and merge JeeHell Config after update"},"content":{"rendered":"\n<p>I&#8217;ve searched for an easy way to backup my \\A320FMGS\\ folder in front of an JeeHell Update. After each update I need to merge the existing configuration files with the files of the backup.<\/p>\n\n\n\n<p>This little batch file is doing this now&#8230;<\/p>\n\n\n\n<div style=\"text-align:left\" class=\"wp-block-fruitful-blocks-fruitful-alert ff fruitful_alert ff-alert-info ff-id-block-6e10f240-4c26-473c-8321-d1abd3d6f884\"><i class=\"ff-icon\"><\/i><div>Use this script on your own risk. Now warrenty nor support!<\/div><a href=\"#\" class=\"ff-alert-dismiss\"><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Requirements<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>JeeHell FMGS A320<\/li><li>WinMerge (<a href=\"https:\/\/winmerge.org\/\">https:\/\/winmerge.org<\/a>)<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">The batch file<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">@echo off\n\nrem ---------- SET DEFAULT DIRECTORIES ----------------\nset pathOrg=P:\\A320FMGS\nset pathBkp=P:\\A320FMGS - Kopie\n\nset pathWinMerge=C:\\Program Files (x86)\\WinMerge\\WinMergeU.exe\n\nrem ---------- DO NOT MODIFY BELOW THIS LINE ----------\nrem ---------- DO NOT MODIFY BELOW THIS LINE ----------\nrem ---------- DO NOT MODIFY BELOW THIS LINE ----------\n\n\necho -----------------------------------------------------------------\necho          Backup Creation and Merge for JeeHell FMGS\necho -----------------------------------------------------------------\necho                   by Peter Rosendahl\necho             https:\/\/aviation.pero-online.de\necho.\necho.\n\nset \/p \"pathOrg=Enter path to 'A320FMGS' or press ENTER for default [%pathOrg%] : \"\nset \/p \"pathBkp=Enter path to 'A320FMGS' Backup or press ENTER for default [%pathBkp%] : \"\n\nxcopy \"%pathOrg%\" \"%pathBkp%\" \/e \/i \/y \/s\n\nset starterIni=\\starter.ini\nset aircraftCfg=\\Aircraft\\A320-214\\aircraft.cfg\nset aircraftIni=\\FMGS Server\\PERF\\CFM\\aircraft.ini\nset egpwswxrIni=\\EGPWS_WXR.ini\n\ncls\necho -----------------------------------------------------------------\necho          Backup Creation and Merge for JeeHell FMGS\necho -----------------------------------------------------------------\necho                   by Peter Rosendahl\necho             https:\/\/aviation.pero-online.de\necho.\necho.\necho Backup done. Please make JeeHell FMGS Update and press key to continue after\necho JeeHell Update has been completed...\npause\n\ncls\necho -----------------------------------------------------------------\necho          Backup Creation and Merge for JeeHell FMGS\necho -----------------------------------------------------------------\necho                   by Peter Rosendahl\necho             https:\/\/aviation.pero-online.de\necho.\necho.\necho Please do not close this window until all WinMerge sessions are done...\ncall \"%pathWinMerge%\" \"%pathBkp%%starterIni%\" \"%pathOrg%%starterIni%\"\ncall \"%pathWinMerge%\" \"%pathBkp%%aircraftCfg%\" \"%pathOrg%%aircraftCfg%\"\ncall \"%pathWinMerge%\" \"%pathBkp%%aircraftIni%\" \"%pathOrg%%aircraftIni%\"\ncall \"%pathWinMerge%\" \"%pathBkp%%egpwswxrIni%\" \"%pathOrg%%egpwswxrIni%\"<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Set the path of the Original \\A320FMGS folder<\/li><li>Set the path of the Backup folder (make sure that is does not exist)<\/li><li>Copy Original folder to Backup folder<\/li><li>Wait for you to complete your JeeHell FMGS Update<\/li><li>Continue the batch file opens WinMerge (external program) three times to make sure each and every config item is correct. Save the files<\/li><li>Batch file closes<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Installation<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Copy the script in a batch file (peroJeeHellBackupMerge.cmd)<\/li><li>Adjust the path settings<\/li><li>Save it in the parent folder of your A320FMGS folder<br>(Example: D:\\A320FMGS\\ place it to D:\\)<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve searched for an easy way to backup my \\A320FMGS\\ folder in front of an JeeHell Update. After each update I need to merge the existing configuration files with the files of the backup. This little batch file is doing this now&#8230; Requirements JeeHell FMGS A320 WinMerge (https:\/\/winmerge.org) The batch file @echo off rem &#8212;&#8212;&#8212;-&hellip;&nbsp;<a href=\"https:\/\/aviation.pero-online.de\/wordpress\/batch-file-to-backup-and-merge-jeehell-config-after-update\/\" rel=\"bookmark\">Weiterlesen &raquo;<span class=\"screen-reader-text\">Batch file to backup and merge JeeHell Config after update<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_stopmodifiedupdate":false,"_modified_date":"","neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[79],"tags":[],"class_list":["post-2625","post","type-post","status-publish","format-standard","hentry","category-software"],"_links":{"self":[{"href":"https:\/\/aviation.pero-online.de\/wordpress\/wp-json\/wp\/v2\/posts\/2625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aviation.pero-online.de\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aviation.pero-online.de\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aviation.pero-online.de\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/aviation.pero-online.de\/wordpress\/wp-json\/wp\/v2\/comments?post=2625"}],"version-history":[{"count":0,"href":"https:\/\/aviation.pero-online.de\/wordpress\/wp-json\/wp\/v2\/posts\/2625\/revisions"}],"wp:attachment":[{"href":"https:\/\/aviation.pero-online.de\/wordpress\/wp-json\/wp\/v2\/media?parent=2625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aviation.pero-online.de\/wordpress\/wp-json\/wp\/v2\/categories?post=2625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aviation.pero-online.de\/wordpress\/wp-json\/wp\/v2\/tags?post=2625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}