diff --git a/FolderCopy.sln b/FolderCopy.sln
new file mode 100644
index 0000000..25d6b19
--- /dev/null
+++ b/FolderCopy.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.7.34031.279
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FolderCopy", "FolderCopy\FolderCopy.csproj", "{EF731421-4D71-44FD-8067-4140A1E6EABB}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {EF731421-4D71-44FD-8067-4140A1E6EABB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EF731421-4D71-44FD-8067-4140A1E6EABB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EF731421-4D71-44FD-8067-4140A1E6EABB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EF731421-4D71-44FD-8067-4140A1E6EABB}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {7CEBCABB-2F05-488F-9988-221261AFD64B}
+ EndGlobalSection
+EndGlobal
diff --git a/FolderCopy/App.config b/FolderCopy/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/FolderCopy/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/FolderCopy/FolderCopy.csproj b/FolderCopy/FolderCopy.csproj
new file mode 100644
index 0000000..bef6c91
--- /dev/null
+++ b/FolderCopy/FolderCopy.csproj
@@ -0,0 +1,110 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {EF731421-4D71-44FD-8067-4140A1E6EABB}
+ WinExe
+ FolderCopy
+ FolderCopy
+ v4.7.2
+ 512
+ true
+ true
+ publish\
+ true
+ Disk
+ false
+ Foreground
+ 7
+ Days
+ false
+ false
+ true
+ 0
+ 1.0.0.%2a
+ false
+ false
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ Form1.cs
+
+
+
+
+ Form1.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
+
+
+ False
+ Microsoft .NET Framework 4.7.2 %28x86 および x64%29
+ true
+
+
+ False
+ .NET Framework 3.5 SP1
+ false
+
+
+
+
\ No newline at end of file
diff --git a/FolderCopy/Form1.Designer.cs b/FolderCopy/Form1.Designer.cs
new file mode 100644
index 0000000..682ec6d
--- /dev/null
+++ b/FolderCopy/Form1.Designer.cs
@@ -0,0 +1,336 @@
+namespace FolderCopy
+{
+ partial class Form1
+ {
+ ///
+ /// 必要なデザイナー変数です。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 使用中のリソースをすべてクリーンアップします。
+ ///
+ /// マネージド リソースを破棄する場合は true を指定し、その他の場合は false を指定します。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows フォーム デザイナーで生成されたコード
+
+ ///
+ /// デザイナー サポートに必要なメソッドです。このメソッドの内容を
+ /// コード エディターで変更しないでください。
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
+ this.button1 = new System.Windows.Forms.Button();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.textBox2 = new System.Windows.Forms.TextBox();
+ this.button2 = new System.Windows.Forms.Button();
+ this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
+ this.button3 = new System.Windows.Forms.Button();
+ this.config = new System.Windows.Forms.CheckBox();
+ this.options = new System.Windows.Forms.CheckBox();
+ this.resourcepacks = new System.Windows.Forms.CheckBox();
+ this.schematics = new System.Windows.Forms.CheckBox();
+ this.saves = new System.Windows.Forms.CheckBox();
+ this.screenshots = new System.Windows.Forms.CheckBox();
+ this.XaeroWaypoints = new System.Windows.Forms.CheckBox();
+ this.XaeroWorldMap = new System.Windows.Forms.CheckBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.bindall = new System.Windows.Forms.Button();
+ this.unbindall = new System.Windows.Forms.Button();
+ this.shaderpacks = new System.Windows.Forms.CheckBox();
+ this.itemscroller = new System.Windows.Forms.CheckBox();
+ this.g4mespeed = new System.Windows.Forms.CheckBox();
+ this.button4 = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(382, 318);
+ this.button1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(207, 30);
+ this.button1.TabIndex = 0;
+ this.button1.Text = "移動";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(235, 236);
+ this.textBox1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(246, 23);
+ this.textBox1.TabIndex = 1;
+ //
+ // textBox2
+ //
+ this.textBox2.Location = new System.Drawing.Point(235, 270);
+ this.textBox2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.textBox2.Name = "textBox2";
+ this.textBox2.Size = new System.Drawing.Size(246, 23);
+ this.textBox2.TabIndex = 2;
+ //
+ // button2
+ //
+ this.button2.Location = new System.Drawing.Point(490, 234);
+ this.button2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(99, 30);
+ this.button2.TabIndex = 3;
+ this.button2.Text = "参照";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // button3
+ //
+ this.button3.Location = new System.Drawing.Point(491, 270);
+ this.button3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(99, 30);
+ this.button3.TabIndex = 4;
+ this.button3.Text = "参照";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // config
+ //
+ this.config.AutoSize = true;
+ this.config.Location = new System.Drawing.Point(682, 357);
+ this.config.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.config.Name = "config";
+ this.config.Size = new System.Drawing.Size(74, 20);
+ this.config.TabIndex = 5;
+ this.config.Text = "config";
+ this.config.UseVisualStyleBackColor = true;
+ //
+ // options
+ //
+ this.options.AutoSize = true;
+ this.options.Location = new System.Drawing.Point(682, 384);
+ this.options.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.options.Name = "options";
+ this.options.Size = new System.Drawing.Size(82, 20);
+ this.options.TabIndex = 6;
+ this.options.Text = "options";
+ this.options.UseVisualStyleBackColor = true;
+ //
+ // resourcepacks
+ //
+ this.resourcepacks.AutoSize = true;
+ this.resourcepacks.Location = new System.Drawing.Point(682, 329);
+ this.resourcepacks.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.resourcepacks.Name = "resourcepacks";
+ this.resourcepacks.Size = new System.Drawing.Size(130, 20);
+ this.resourcepacks.TabIndex = 7;
+ this.resourcepacks.Text = "resourcepacks";
+ this.resourcepacks.UseVisualStyleBackColor = true;
+ //
+ // schematics
+ //
+ this.schematics.AutoSize = true;
+ this.schematics.Location = new System.Drawing.Point(682, 301);
+ this.schematics.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.schematics.Name = "schematics";
+ this.schematics.Size = new System.Drawing.Size(106, 20);
+ this.schematics.TabIndex = 8;
+ this.schematics.Text = "schematics";
+ this.schematics.UseVisualStyleBackColor = true;
+ //
+ // saves
+ //
+ this.saves.AutoSize = true;
+ this.saves.Location = new System.Drawing.Point(682, 273);
+ this.saves.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.saves.Name = "saves";
+ this.saves.Size = new System.Drawing.Size(66, 20);
+ this.saves.TabIndex = 9;
+ this.saves.Text = "saves";
+ this.saves.UseVisualStyleBackColor = true;
+ //
+ // screenshots
+ //
+ this.screenshots.AutoSize = true;
+ this.screenshots.Location = new System.Drawing.Point(682, 245);
+ this.screenshots.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.screenshots.Name = "screenshots";
+ this.screenshots.Size = new System.Drawing.Size(114, 20);
+ this.screenshots.TabIndex = 10;
+ this.screenshots.Text = "screenshots";
+ this.screenshots.UseVisualStyleBackColor = true;
+ //
+ // XaeroWaypoints
+ //
+ this.XaeroWaypoints.AutoSize = true;
+ this.XaeroWaypoints.Location = new System.Drawing.Point(682, 217);
+ this.XaeroWaypoints.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.XaeroWaypoints.Name = "XaeroWaypoints";
+ this.XaeroWaypoints.Size = new System.Drawing.Size(138, 20);
+ this.XaeroWaypoints.TabIndex = 11;
+ this.XaeroWaypoints.Text = "XaeroWaypoints";
+ this.XaeroWaypoints.UseVisualStyleBackColor = true;
+ //
+ // XaeroWorldMap
+ //
+ this.XaeroWorldMap.AutoSize = true;
+ this.XaeroWorldMap.Location = new System.Drawing.Point(682, 189);
+ this.XaeroWorldMap.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.XaeroWorldMap.Name = "XaeroWorldMap";
+ this.XaeroWorldMap.Size = new System.Drawing.Size(130, 20);
+ this.XaeroWorldMap.TabIndex = 12;
+ this.XaeroWorldMap.Text = "XaeroWorldMap";
+ this.XaeroWorldMap.UseVisualStyleBackColor = true;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(142, 277);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(87, 16);
+ this.label1.TabIndex = 13;
+ this.label1.Text = "新起動構成";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(142, 241);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(87, 16);
+ this.label2.TabIndex = 13;
+ this.label2.Text = "旧起動構成";
+ //
+ // bindall
+ //
+ this.bindall.Font = new System.Drawing.Font("MS ゴシック", 9F);
+ this.bindall.Location = new System.Drawing.Point(682, 412);
+ this.bindall.Name = "bindall";
+ this.bindall.Size = new System.Drawing.Size(75, 23);
+ this.bindall.TabIndex = 14;
+ this.bindall.Text = "bind all";
+ this.bindall.UseVisualStyleBackColor = true;
+ this.bindall.Click += new System.EventHandler(this.bindall_Click);
+ //
+ // unbindall
+ //
+ this.unbindall.Font = new System.Drawing.Font("MS ゴシック", 9F);
+ this.unbindall.Location = new System.Drawing.Point(764, 411);
+ this.unbindall.Name = "unbindall";
+ this.unbindall.Size = new System.Drawing.Size(75, 23);
+ this.unbindall.TabIndex = 15;
+ this.unbindall.Text = "unbind all";
+ this.unbindall.UseVisualStyleBackColor = true;
+ this.unbindall.Click += new System.EventHandler(this.unbindall_Click);
+ //
+ // shaderpacks
+ //
+ this.shaderpacks.AutoSize = true;
+ this.shaderpacks.Location = new System.Drawing.Point(682, 162);
+ this.shaderpacks.Name = "shaderpacks";
+ this.shaderpacks.Size = new System.Drawing.Size(114, 20);
+ this.shaderpacks.TabIndex = 18;
+ this.shaderpacks.Text = "shaderpacks";
+ this.shaderpacks.UseVisualStyleBackColor = true;
+ //
+ // itemscroller
+ //
+ this.itemscroller.AutoSize = true;
+ this.itemscroller.Location = new System.Drawing.Point(682, 136);
+ this.itemscroller.Name = "itemscroller";
+ this.itemscroller.Size = new System.Drawing.Size(122, 20);
+ this.itemscroller.TabIndex = 19;
+ this.itemscroller.Text = "itemscroller";
+ this.itemscroller.UseVisualStyleBackColor = true;
+ //
+ // g4mespeed
+ //
+ this.g4mespeed.AutoSize = true;
+ this.g4mespeed.Location = new System.Drawing.Point(682, 110);
+ this.g4mespeed.Name = "g4mespeed";
+ this.g4mespeed.Size = new System.Drawing.Size(98, 20);
+ this.g4mespeed.TabIndex = 20;
+ this.g4mespeed.Text = "g4mespeed";
+ this.g4mespeed.UseVisualStyleBackColor = true;
+ //
+ // button4
+ //
+ this.button4.Font = new System.Drawing.Font("MS ゴシック", 9F);
+ this.button4.Location = new System.Drawing.Point(845, 412);
+ this.button4.Name = "button4";
+ this.button4.Size = new System.Drawing.Size(75, 23);
+ this.button4.TabIndex = 21;
+ this.button4.Text = "おすすめ";
+ this.button4.UseVisualStyleBackColor = true;
+ this.button4.Click += new System.EventHandler(this.button4_Click);
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1067, 600);
+ this.Controls.Add(this.button4);
+ this.Controls.Add(this.g4mespeed);
+ this.Controls.Add(this.itemscroller);
+ this.Controls.Add(this.shaderpacks);
+ this.Controls.Add(this.unbindall);
+ this.Controls.Add(this.bindall);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.XaeroWorldMap);
+ this.Controls.Add(this.XaeroWaypoints);
+ this.Controls.Add(this.screenshots);
+ this.Controls.Add(this.saves);
+ this.Controls.Add(this.schematics);
+ this.Controls.Add(this.resourcepacks);
+ this.Controls.Add(this.options);
+ this.Controls.Add(this.config);
+ this.Controls.Add(this.button3);
+ this.Controls.Add(this.button2);
+ this.Controls.Add(this.textBox2);
+ this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.button1);
+ this.Font = new System.Drawing.Font("MS ゴシック", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.Name = "Form1";
+ this.Text = "ModPack Transition";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.TextBox textBox2;
+ private System.Windows.Forms.Button button2;
+ private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.CheckBox config;
+ private System.Windows.Forms.CheckBox options;
+ private System.Windows.Forms.CheckBox resourcepacks;
+ private System.Windows.Forms.CheckBox schematics;
+ private System.Windows.Forms.CheckBox saves;
+ private System.Windows.Forms.CheckBox screenshots;
+ private System.Windows.Forms.CheckBox XaeroWaypoints;
+ private System.Windows.Forms.CheckBox XaeroWorldMap;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Button bindall;
+ private System.Windows.Forms.Button unbindall;
+ private System.Windows.Forms.CheckBox shaderpacks;
+ private System.Windows.Forms.CheckBox itemscroller;
+ private System.Windows.Forms.CheckBox g4mespeed;
+ private System.Windows.Forms.Button button4;
+ }
+}
+
diff --git a/FolderCopy/Form1.cs b/FolderCopy/Form1.cs
new file mode 100644
index 0000000..56b4c01
--- /dev/null
+++ b/FolderCopy/Form1.cs
@@ -0,0 +1,228 @@
+using System;
+using System.IO;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using static System.Windows.Forms.VisualStyles.VisualStyleElement;
+
+namespace FolderCopy
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ try
+ {
+
+ // コピーするのディレクトリパス
+ string sourceDirName = textBox1.Text;
+ // コピー後のディレクトリパス
+ string destDirName = textBox2.Text;
+
+
+ // ディレクトリをコピーする
+ CopyDirectory(sourceDirName, destDirName);
+ if (!options.Checked && !config.Checked && !resourcepacks.Checked && !schematics.Checked && !saves.Checked && !screenshots.Checked && !XaeroWaypoints.Checked && !XaeroWorldMap.Checked && !String.IsNullOrEmpty(textBox1.Text) && !String.IsNullOrEmpty(textBox2.Text))
+ {
+ MessageBox.Show("何も選択されていません");
+ }
+ else
+ {
+ // 完了メッセージを表示する
+ MessageBox.Show($"{sourceDirName}を{destDirName}にコピーしました。");
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show(ex.Message);
+ }
+
+ }
+ public void CopyDirectory(string sourceDirName, string destDirName)
+ {
+ // コピー先のディレクトリがないかどうか判定する
+ if (!Directory.Exists(destDirName))
+ {
+ // コピー先のディレクトリを作成する
+ Directory.CreateDirectory(destDirName);
+ }
+
+ // コピー元のディレクトリの属性をコピー先のディレクトリに反映する
+ File.SetAttributes(destDirName, File.GetAttributes(sourceDirName));
+
+ // ディレクトリパスの末尾が「\」でないかどうかを判定する
+ if (!destDirName.EndsWith(Path.DirectorySeparatorChar.ToString()))
+ {
+ // コピー先のディレクトリ名の末尾に「\」を付加する
+ destDirName = destDirName + Path.DirectorySeparatorChar;
+ }
+
+ // コピー元のディレクトリ内のファイルを取得する
+ string[] files = Directory.GetFiles(sourceDirName);
+ foreach (string file in files)
+ {
+ if (options.Checked==true)
+ {
+ File.Copy(sourceDirName+"\\options.txt", destDirName + Path.GetFileName("options.txt"), true);
+ }
+ }
+
+ // コピー元のディレクトリのサブディレクトリを取得する
+ string[] dirs = Directory.GetDirectories(sourceDirName);
+ if (config.Checked == true)
+ {
+ // コピー元のディレクトリのサブディレクトリで自メソッド(CopyDirectory)を再帰的に呼び出す
+ CopyDirectory2(sourceDirName+("\\config"), destDirName + Path.GetFileName("config"));
+ }
+ if(resourcepacks.Checked == true)
+ {
+ CopyDirectory2(sourceDirName + ("\\resourcepacks"), destDirName+Path.GetFileName("resourcepacks"));
+ }
+ if(saves.Checked == true)
+ {
+ CopyDirectory2(sourceDirName+("\\saves"), destDirName + Path.GetFileName("saves"));
+ }
+ if(schematics.Checked == true)
+ {
+ CopyDirectory2(sourceDirName + ("\\schematics"), destDirName + Path.GetFileName("schematics"));
+ }
+ if(screenshots.Checked == true)
+ {
+ CopyDirectory2(sourceDirName + ("\\screenshots"), destDirName + Path.GetFileName("screenshots"));
+ }
+ if(XaeroWaypoints.Checked == true)
+ {
+ CopyDirectory2(sourceDirName + ("\\XaeroWaypoints"), destDirName + Path.GetFileName("XaeroWaypoints"));
+ }
+ if(XaeroWorldMap.Checked == true)
+ {
+ CopyDirectory2(sourceDirName + ("\\XaeroWorldMap"), destDirName + Path.GetFileName("XaeroWorldMap"));
+ }
+ if (shaderpacks.Checked == true)
+ {
+ CopyDirectory2(sourceDirName + ("\\shaderpacks"), destDirName + Path.GetFileName("shaderpacks"));
+ }
+ if (itemscroller.Checked == true)
+ {
+ CopyDirectory2(sourceDirName + ("\\itemscroller"), destDirName + Path.GetFileName("itemscroller"));
+ }
+ if (g4mespeed.Checked == true)
+ {
+ CopyDirectory2(sourceDirName + ("\\g4mespeed"), destDirName + Path.GetFileName("g4mespeed"));
+ }
+ }
+ public void CopyDirectory2(string sourceDirName, string destDirName)
+ {
+ // コピー先のディレクトリがないかどうか判定する
+ if (!Directory.Exists(destDirName))
+ {
+ // コピー先のディレクトリを作成する
+ Directory.CreateDirectory(destDirName);
+ }
+
+ // コピー元のディレクトリの属性をコピー先のディレクトリに反映する
+ File.SetAttributes(destDirName, File.GetAttributes(sourceDirName));
+
+ // ディレクトリパスの末尾が「\」でないかどうかを判定する
+ if (!destDirName.EndsWith(Path.DirectorySeparatorChar.ToString()))
+ {
+ // コピー先のディレクトリ名の末尾に「\」を付加する
+ destDirName = destDirName + Path.DirectorySeparatorChar;
+ }
+
+ // コピー元のディレクトリ内のファイルを取得する
+ string[] files = Directory.GetFiles(sourceDirName);
+ foreach (string file in files)
+ {
+ if (Path.GetFileName(file) == "hanemod-client.toml")
+ {
+ Console.WriteLine("hanemodのconfigは移行できません");
+ }
+ else
+ {
+ // コピー元のディレクトリにあるファイルをコピー先のディレクトリにコピーする
+ File.Copy(file, destDirName + Path.GetFileName(file), true);
+ }
+ }
+
+ // コピー元のディレクトリのサブディレクトリを取得する
+ string[] dirs = Directory.GetDirectories(sourceDirName);
+ foreach (string dir in dirs)
+ {
+ // コピー元のディレクトリのサブディレクトリで自メソッド(CopyDirectory)を再帰的に呼び出す
+ CopyDirectory2(dir, destDirName + Path.GetFileName(dir));
+ }
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ DialogResult dr = folderBrowserDialog1.ShowDialog();
+ if (dr == System.Windows.Forms.DialogResult.OK)
+ {
+ textBox1.Text = folderBrowserDialog1.SelectedPath;
+ }
+ }
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ DialogResult dr = folderBrowserDialog1.ShowDialog();
+ if (dr == System.Windows.Forms.DialogResult.OK)
+ {
+ textBox2.Text = folderBrowserDialog1.SelectedPath;
+ }
+ }
+
+ private void bindall_Click(object sender, EventArgs e)
+ {
+ options.Checked = true;
+ resourcepacks.Checked = true;
+ config.Checked = true;
+ saves.Checked = true;
+ schematics.Checked = true;
+ screenshots.Checked = true;
+ XaeroWaypoints.Checked = true;
+ XaeroWorldMap.Checked = true;
+ shaderpacks.Checked = true;
+ itemscroller.Checked = true;
+ g4mespeed.Checked = true;
+ }
+
+ private void unbindall_Click(object sender, EventArgs e)
+ {
+ options.Checked = false;
+ resourcepacks.Checked = false;
+ config.Checked = false;
+ saves.Checked = false;
+ schematics.Checked = false;
+ screenshots.Checked = false;
+ XaeroWaypoints.Checked = false;
+ XaeroWorldMap.Checked = false;
+ shaderpacks.Checked = false;
+ itemscroller.Checked = false;
+ g4mespeed.Checked = false;
+ }
+
+ private void button4_Click(object sender, EventArgs e)
+ {
+ options.Checked = true;
+ resourcepacks.Checked = true;
+ config.Checked = true;
+ schematics.Checked = true;
+ XaeroWaypoints.Checked = true;
+ XaeroWorldMap.Checked = true;
+ shaderpacks.Checked = true;
+ itemscroller.Checked = true;
+ g4mespeed.Checked = true;
+ }
+ }
+}
diff --git a/FolderCopy/Form1.resx b/FolderCopy/Form1.resx
new file mode 100644
index 0000000..fde9594
--- /dev/null
+++ b/FolderCopy/Form1.resx
@@ -0,0 +1,411 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+
+
+ AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEIAAAAAAAAAAAAAAAAAAAAA
+ AAD/////////////////////////////////////////////////////////////////////////////
+ ///////////////////R2cv/H0wA/x9NAP8fTQD/H00A/x9NAP8fTQD/IkwA/6Z+Iv+zgyT/s4Mk/7OD
+ JP+zgyT/s4Mk/7ODJP+zgyT/s4Mk/7ODJP+zgyT/sYIk/y5RA/8fTQD/H00A/x9NAP8fTQD/H00A/x9N
+ AP9jgU7//v7+////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////0NnJ/x9MAP8fTQD/H00A/x9NAP8fTQD/H00A/yJM
+ AP+nfyP/s4Mk/7ODJP+zgyT/s4Mk/7ODJP+zgyT/s4Mk/7ODJP+zgyT/s4Mk/7GCJf8xUgT/H00A/x9N
+ AP8fTQD/H00A/x9NAP8fTQD/ZIJP//7+/v//////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////v7+/8/YyP8fTAD/H00A/x9N
+ AP8fTQD/H00A/x9NAP8jTAD/qH8k/7ODJP+ygiT/soIl/7OBJ/+zgCj/s4Ap/7OAKP+zgSb/s4Ij/7OD
+ JP+xgiX/M1MF/x9NAP8fTQD/H00A/x9NAP8fTQD/H00A/2aDUP/+/v7/////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////////////////////7+
+ /v/O18f/H0wA/x9NAP8fTQD/H00A/x9NAP8fTQD/I0wA/6mAJf+zgyT/s4En/44pT/+HFlj/hBFY/4MN
+ Wf+EEFj/l0BE/7OCJP+zgyT/sYIl/zVUBv8fTQD/H00A/x9NAP8fTQD/H00A/x9NAP9ng1L//v7+////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////+/v7/zdbG/x9MAP8fTQD/H00A/x9NAP8fTQD/H00A/yNMAP+rgSb/s4Mk/7SA
+ KP+FEVj/gQVh/4EFYf+BBWH/gQVh/5IwTP+zgiT/s4Mk/7GCJP83VQf/H00A/x9NAP8fTQD/H00A/x9N
+ AP8fTQD/aIRT//7+/v//////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////v7+/8zVxP8fTAD/H00A/x9NAP8fTQD/H00A/x9N
+ AP8kTAD/q4Im/6+DJP+xgCn/gg5Y/4EFYf+BBWH/gQVh/4EFYf+QLE7/soIl/7ODJP+ygiT/NlQG/x9N
+ AP8fTQD/H00A/x9NAP8fTQD/H00A/2mFVP/+/v7/////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////7+/v/L1MP/H0wA/x9N
+ AP8fTQD/H00A/x9NAP8fTQD/JUwA/6edOP+d72f/n+Zm/4IlX/+BBWH/gQVh/4EFYf+BBWH/jylP/7KC
+ JP+zgyT/sYIk/zVUBv8fTQD/H00A/x9NAP8fTQD/H00A/x5NAP9phlX//v7+////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////////////////////7+
+ /v/+/v7/h553/x9NAP8fTQD/H00A/x9NAP8fTQD/H00A/yVMAP+kpz3/l/hq/5j3bP+DMmH/gQRh/4EF
+ Yf+BBGH/gQRh/5EsTv+ygiX/s4Mk/7GCJf80VAf/H00A/x9NAP8fTQD/H00A/x9NAP8eTAD/K1UQ/+ru
+ 5//+/v7/////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////+/v7/4efd/yZRCv8fTQD/H00A/x9NAP8fTQD/H00A/x9NAP8nTQD/p542/53h
+ Xv+d5WL/h1li/4ZEY/+GLF7/hxdX/4kaVv+YQET/soIk/7ODJP+xgiX/NFUI/x9NAP8fTQD/H00A/x9N
+ AP8fTQD/H00A/x9NAP99lWv//v7+//7+/v//////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////v7+/2+KW/8fTQD/H00A/x9NAP8fTQD/H00A/x9N
+ AP8fTQD/KU4B/6+CJf+ygyP/q4Yk/530a/+X+Gv/oc1T/7OCJf+zgiX/s4Ik/7OCJP+zgyT/soIl/zdW
+ CP8fTQD/H00A/x9NAP8fTQD/H00A/x9NAP8fTQD/JVAH/97k2f/+/v7/////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////v7+/8/YyP8hTQP/H00A/x9N
+ AP8fTQD/H00A/x9NAP8fTQD/H00A/ytPAv+wgiX/s4Mk/62KKP+c9mv/l/hr/6LOUv+zgyT/s4Mk/7OD
+ JP+zgyT/s4Mk/7KCJP88Vgf/H00A/x9NAP8fTQD/H00A/x9NAP8fTQD/H00A/x9MAP9riFf//v7+////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////////////////////7+
+ /f9YeEL/H00A/x9NAP8fTQD/H00A/x9NAP8fTQD/H00A/x9NAP8tUAP/sIIl/7ODJP+xgyT/rZgy/6ug
+ Nv+uki3/s4Mk/7ODJP+zgyT/s4Mk/7ODJP+ygiT/PlcI/x9NAP8fTQD/H00A/x9NAP8fTQD/H00A/x9N
+ AP8fTQD/IU4D/9DZyv/+/v7/////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////7+/v+9ybT/H0wB/x9NAP8fTQD/H00A/x9NAP8fTQD/H00A/x9NAP8fTQD/LFAD/7CC
+ Jf+zgyT/soIk/7KCJP+zgiP/s4Ij/7OCJP+zgiT/soIk/7KCJP+zgyT/s4Ik/0FZCf8fTQD/H00A/x9N
+ AP8fTQD/H00A/x9NAP8fTQD/H00A/x9MAP9ZeUP//f79//7+/v//////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////6/Pr/RWkt/x9MAP8fTQD/H00A/x9NAP8fTQD/H00A/x9N
+ AP8fTQD/H00A/ypPAv+vgiX/s4Mk/7KCJP+wgib/r4Eo/66AKf+ugCn/r4Eo/7CCJv+ygiT/s4Mk/7OC
+ JP9BWAn/H00A/x9NAP8fTQD/H00A/x9NAP8fTQD/H00A/x9NAP8fTQD/H0wB/8DLt///////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////pbaZ/x9MAP8fTQD/H00A/x9N
+ AP8fTQD/H00A/x9NAP8fTQD/H00A/x9NAP8oTgD/r4Im/7ODJP+yijf/y+bp/8vq8f/M7PP/zOzz/8vq
+ 8f/L5ur/tI5A/7ODJP+ygiT/PlcI/x9NAP8fTQD/H00A/x9NAP8eTAD/H00A/x9NAP8fTQD/H00A/x9N
+ AP9JbTH//P38//7+/v//////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////+/v7/8/bx/zVd
+ Gv8fTQD/H00A/x9NAP8fTAD/H0wB/x9MAf8fTAD/H0wA/x9MAP8fTAD/JU0B/6yCJ/+ygiX/s40//8nr
+ 9v/G6/n/xuv5/8br+f/G6/n/yuv2/7GJOP+ygiT/sYIl/zpWB/8fTQD/H00A/x9MAP8fTQD/H0wA/x9M
+ Av8fTAD/H0wA/x9NAP8eTQD/H0wA/6+9pP/+/v7/////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///+/v7//v7+/4+kgf8fTAD/H00A/x9NAP8eTQD/S3ZM/4y0wP+Isbv/h7K4/4/AvP+Pwb3/jsC8/5TD
+ wf/A1M3/w9PJ/8PWzv/G6/j/xuv5/8br+f/G6/n/xuv5/8fr+P/B0MT/wtDD/8LRxP+axcP/j8G+/47A
+ vf+OwLz/h7Sz/4Kqrf+QuMb/W4Vq/x9NAP8fTQD/H00A/x9NAP89YiT/+Pn3//7+/v//////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////v7+/+jt5P8qUw3/H00A/x9NAP8fTQD/H00A/055VP+cxN//nMTg/6DK
+ 5P+y5Pn/suT5/7Ll+f+y5Pj/xOr5/8br+f/G6/n/xuv5/8br+f/G6/n/xuv5/8br+f/G6/n/xuv5/8br
+ +f/G6vn/teX5/7Hl+f+y5fn/suX5/6jW7f+bxOD/nMPg/2eQgf8fTQD/H00A/x9NAP8eTQD/Hk0A/5yv
+ j//+/v7/////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////7+/v94kmb/H00A/x9NAP8fTQD/H00A/x9N
+ AP9NeFL/nMTg/5zE4P+gyuT/suT5/7Hj+v+x4/n/suP5/8Tq+f/G6/n/xuv5/8br+f/G6/n/xuv5/8br
+ +f/G6/n/xuv5/8br+f/G6/n/xur4/7Xl+f+x5Pn/seT5/7Hk+P+o1e3/nMTg/5zD4P9okYH/H00A/x9N
+ AP8fTQD/H00A/x9NAP8xWRX/8fTv////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////7+/v/Y39L/I08F/x9N
+ AP8fTQD/H00A/x9NAP8fTAD/THdQ/5zE4P+cxOD/oMrl/7Hk+f8YQYv/DjaF/xA4g//E6fr/xuv5/8br
+ +f/G6/n/xuv5/8br+f/G6/n/xuv5/8br+f/G6/n/xuv5/8bq+f80W5v/GUGN/xpDjP+r3fX/qNXt/5zE
+ 4P+cw+D/aJGC/x9NAP8fTQD/H00A/x9NAP8fTQD/H0wA/4uhe//+/v7/////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///+/v7/YoFN/x9NAP8fTQD/H00A/x9NAP8fTQD/H00A/4mmlP+bxOD/nMTg/6DK5f+x4/n/DTSF/wUr
+ gf8JMID/xOn6/8br+f/G6/n/xuv5/8br+f/G6/n/xuv5/8br+f/G6/n/xuv5/8br+f/G6vn/JUuS/wUs
+ gf8FLH//p9jz/6jV7f+cxOD/nMPg/32imv8fTAD/H00A/x9NAP8fTQD/H00A/x9NAP8qVA3/5+zk////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////v/+/v7/xtC9/yBMAv8fTQD/H00A/x9NAP8fTQD/H0wA/zpgH//Y5uz/m8Tg/5zE
+ 4P+gyuX/seP5/w82hf8GLID/Ci9+/8Po+v/G6/n/xuv5/8br+f/G6/n/xuv5/8br+f/G6/n/xuv5/8br
+ +f/G6/n/xur5/ylNkv8GK3//Bit8/6jZ8/+n1Oz/nMPg/5zD4P+91uL/L1gT/x5NAP8fTQD/H00A/x9N
+ AP8fTQD/H0wA/3mTZv/+/v7//v7+////////////////////////////////////////////////////
+ /////////////////////////////////////v7//P38/01vNf8fTQD/H00A/x9NAP8fTQD/H00A/x9N
+ AP+arYz/3evz/5vD3/+cxOD/nMTg/6DJ5P8LJFr/AhpU/wkhV//G6vr/xuv5/8br+f/G6/n/xuv5/8br
+ +f/G6/n/xuv5/8br+f/G6/n/xuv5/8bq+f8gOmr/AhpS/wIaUf+Sudj/ncbh/5vE3/+cxOD/xdvr/36W
+ bP8fTAD/H00A/x9NAP8fTQD/H00A/x5NAP8kUAf/2+LW//7+/v//////////////////////////////
+ ///////////////////////////////////////////////////+/v7//v7+/7C/pf8fTAD/H00A/x9N
+ AP8fTQD/H00A/x5NAP8tVhH/8vTv/97r8/+bw9//nMTg/5zE4P+cw+D/CiNX/wMbUP8PKFr/xur6/8br
+ +f/G6/n/xuv5/8br+f/G6/n/xuv5/8br+f/G6/n/xuv5/8br+f/G6vn/ITtr/wIbUP8CG1D/irDQ/5vE
+ 4P+cw+D/nMTg/8Tb6//T28z/H0wB/x9NAP8fTQD/H00A/x9NAP8eTQD/H0wA/2iFU//+/v7//v7+////
+ ///////////////////////////////////////////////////////////////////+/v7/1eDL/4eq
+ b/9OdjP/IE4C/x5NAP8fTQD/H00A/x9NAP8fTQD/iJ94//7+/v/f6/P/nMTf/5zE4P+cxOD/nMPg/w4n
+ Wv8CGlH/CiNW/8bq+v/F6/j/xuv4/8Xr+P/F6/j/xev4/8br+P/G6vn/xur5/8bq+f/G6vj/xur5/yA6
+ av8CGlH/AhpQ/4ux0f+bxOD/nMTg/5zE4P/E2+v//f78/0ltMf8fTQD/H00A/x9NAP8fTQD/H00A/x5N
+ AP8gTQL/zNbF//j69//+/v7/////////////////////////////////////////////////////////
+ /////////v79/2uWTf8zcgj/M3IJ/zl0Ev8zZxH/KlgK/x9MAP8fTQD/JVAI/+fs4//+/v7/4Oz0/5zE
+ 4P+cxOD/nMTg/5zD4P9khqv/W3yj/2GDqP+s0ur/rdTq/6zT6f+s0+n/rdTq/63U6/+45vn/uOb5/7jm
+ +f+45/j/t+b5/7jm+f9wk7b/W3yj/2CBqP+WvNr/m8Tg/5zE4P+cxOD/xNvq//7+/v+fsZH/H00A/x9N
+ AP8fTQD/H00A/x9NAP8fTQD/LVwO/01+K/9biTr/+vz4//7+/v//////////////////////////////
+ /////////////////////////v7+/8jXvf8zcgr/M3MJ/zNzCf8zcwn/M3II/zVzDP84cBL/MWMQ/3iT
+ ZP/+/v7//////+Hs9f+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+dxuL/suT5/7Ll+f+y5fn/suX5/7Ll+f+y5Pj/ocvl/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/8Pb
+ 6v/+/v7/7fHp/yVQCP8eTQD/Hk0A/x9MAP8qWQr/OnAW/zVzDP8zcgn/M3IJ/6nBlv/+/v7/////////
+ //////////////////////////////////////////////3+/P9djT3/M3IJ/zNzCf8zcwn/M3MJ/zNz
+ Cf8zcwn/M3MJ/zNyCf9Cehv/3OXV///////i7fX/nMPg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/ncfh/7Lk+f+y5fn/suX5/7Ll+f+y5fn/seT4/6DK5f+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P/D2+v//v7+//7+/v9qh1X/Hk0A/ydWB/8yaQ3/NHMK/zNzCP8zcwn/M3MJ/zNz
+ Cf9Behv/7vPp///////////////////////////////////////////////////////u8uv/dZ5a/zh1
+ E/8zcgn/M3IJ/zNzCf8zcwn/M3MJ/zNzCf8zcgj/TYIp//r8+f//////4+31/5zD4P+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+hy+b/oMvm/6DL5f+hzOb/os7n/6HN
+ 5v+cxeD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/w9rr//7+/v/+/v7/scOj/zJpDf80cwr/M3II/zNy
+ Cf8zcwn/M3MJ/zNzCf8zcgn/M3IJ/4mqcf////7/////////////////////////////////////////
+ /////////v7+/9rx+f++4+T/kL2c/1ySSP81cw3/M3IJ/zNyCP8ycgn/MnIJ/6K9j//+/v7//////+Pu
+ 9f+cw+D/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/m8Tg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/8Pa6//+/v7/5uzg/zdz
+ EP8zcgn/M3MJ/zNzCf8zcgn/M3IJ/zNzCP8zcgn/OncW/32reP/k7eH////+////////////////////
+ //////////////////////7//v7+//L6/P+FmHX/bn1K/25+Sf9ufkn/ZnYz/05kFf9MYxP/OHEO/z13
+ F//w9Oz//v7+//7//v/k7/X/m8Pg/5vE4P+bxOD/nMTf/5zD4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+RwOL/jb7k/5DA
+ 5P+y1Oz//v7+//7+/f9XiTb/MnMI/zNzCf8zcgn/MnAK/yRcCf8jXAn/QXEx/3qikP+Iran/5PT6//7+
+ /v////7//////////////////////////////////v7+//7+/f+Tn3r/gIIu/5igK/+ntjb/qrlI/7G/
+ bf+wvmj/j5wf/3mJRP+uv5r//v7+///////+/v7/rtb4/zaZ9/82mff/OJn2/4+/4/+cxN//nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/SaHy/xiM/P8ZjPv/T6f4//7+/v/+/v7/oLyN/zNyCP8zcwj/MXII/zJwEv8FOAL/BDYB/wM0
+ Af8ENQL/D0EN/7vc3//2+fn//v7+//////////////////////////////////v7+P+qrov/l54s/52d
+ HP+5wiz/yNk1/8vbRP/P4GP/zt5f/622H/+fq1P/p61//97f0//+/v7//v7+/6HQ+v8VjP7/FYz//xeM
+ /f+OvuT/nMTf/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/nMTg/0Wg9P8Vi/7/FIz//0ym+f/+/v7//////+fu4f82cw7/SIEp/1iR
+ Vv8GWwH/LqcE/yqXAv8ghQL/LpYL/2HSHv8BMAD/ucnB//7+/v/+/v7/////////////////////////
+ ///29/H/U10W/8zVNf+0uCH/sLoe/7XFH/+1xCD/tMQg/7TDIP+nqhr/1OJt/3F9K/+9wKb//v7+//7+
+ /v+l0fn/FYz+/xWM/v8YjPz/jb7k/5vE3/+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P9Gn/L/GIz9/xeM/f9Pp/n//v7+///+
+ ///+/v7/x9a8/3ejd/8nfSL/JpgD/ymYAf8dhAH/GXwB/yCGA/84ogr/jNBp/0JuPv+WqJb//v7+//7+
+ /v/////////////////5+fb/3t3G/3R9O//Q4Ur/vMQt/7K8IP+yvx//sr8f/7K/H/+yvh//qa8a/7TC
+ IP91fRj/rbCJ/+3u5v/+/v7/6fT8/8Dg+v/D4fr/xOL5/6PI4/+cw+D/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/yuHx/9rt
+ +f/V6vn/2+37//7+/v///////v7+/4WqhP9yqGf/Y7ZE/0rEDv9Iuw7/Y708/1y8NP9Eqxv/IogE/2TA
+ O/9BmBv/VYtC/5Olk//+/v7/////////////////5uTS/352Hv/5/tb/3exo/9nqTP+8xTL/q68k/6uv
+ JP+rryL/q68d/7TAIf+0wiD/oJ0d/29xF/+mq4b///////////////////////7+/v+tzeP/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/+Pu9f/+/v7///////////////////////3+/v8iZSD/f7ls/6nwe/9i3Bf/YtwX/6Dx
+ bv+d9Gn/btM9/x6IAv8jjQH/VMoT/zKEEP88XDz//v7+/////////////////+Xk0v9+diD//v77//7+
+ 9//G0Ff/1uZv/+r6n//p+qD/5/eP/9jmS/+ZkRn/pqga/6eqGv90ehb/pquH////////////////////
+ ///+/v7/rs7k/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P/n8Pb////+///////////////////////9/v7/ImUg/3+5
+ bP+p8Hv/YtwX/2LcF/+h8XD/rvWD/4ffXP8spwH/GHsB/0/EFP8xgxD/PFw8//7+/v//////////////
+ ///l5NH/fnYg//7++f/f7W7/7PWq/+Pwff/i83j/6Pqi/+j6oP/m9ZP/mJAc/7K9If+qrxv/dHoW/6ar
+ h////////////////////////v7+/6vM4/+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE
+ 4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/nMTg/5zE4P+cxOD/5vD2//7+/v//////////////
+ /////////f79/yJlIP9/uWz/qfB7/2LcF/9i3Bj/ufaR/7r4lf+H313/LacC/xh7Af8pnwH/GGsD/zxc
+ O//+/v7/////////////////5eTS/352IP/+/vn/3exf//P4yv/m8Yr/3O1T/+Hydf/o+qH/5/ea/6Sj
+ G/+0wSD/q7Ab/3R7Fv+mq4b///////////////////////3+/v+qy+P/m8Tg/5zE4P+cw+D/nMTf/5vE
+ 3/+bxOD/nMTf/5zD4P+bxOD/nMTf/5zD4P+cxN//nMTf/5zE3/+cxN//nMTf/5zE4P+bxOD/nMTg/+fx
+ 9v/+/v7///////////////////////3//f8iZSD/f7ls/6nwe/9i3Bf/YtwY/7r2k/+7+Jb/h99c/y2n
+ Av8YewD/KJ8B/xdqA/88XTv//v7+//////////////////X17v/LyKT/p6Jn/+jts//o8Zf/7POp/+72
+ sP/v+Lb/9fvX//D6uf/H0zv/zN07/4iQH/+ipnH/3uDS///+///////////////////+/v7/5O71/9vp
+ 8v/c6fL/0uTv/9Dj7//T5O//2ejy/97r8//e7PT/3Orz/9/s9P/j7vX/5/H2/+vz9//r8/f/6vL3/+Xv
+ 9f/f7PP/3Ory/9/r8//4+/z////////////////////////////9//3/ImUg/3+5bf+p8Hv/Yt0X/2Lc
+ F/+69pP/xPqj/5LhbP8tqAH/IYgB/yqiAf8YagP/PFw7//7+/v//////////////////////+Pjx/3dv
+ Fv/x8OX/4+53/+n1nv/y+8f/8/zM//j94f/w+7T/2upN/8naN/9veh3/vcGm/////v//////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////////////////////f79/yJl
+ IP+DuXP/tfKN/3riOv964jr/sfWF/735lv+S4Wr/LakB/ymZAf81rgX/HXAG/zxcO//+/v7/////////
+ //////////////r69f+moWb/ysei/9/mkv/k84X/4/WD/+j3mP/w+8D/7fqr/8zcPv+YpR7/j5hV/9TW
+ xf/+/v7/////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////3+/f8kZSP/kbmI/9/8y//N/LD/zf2u/5LzVv+F8kH/a9wv/y2qAP8uqgD/Vs4W/zSC
+ E/8+XT7//v7+///////////////////////+/v7//v78/52YV//Oy6n/4OeS/+Ducf/l8of/7vq7//T7
+ yf+nsCP/fIM//97f0//+/v7//v7+////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////+/v7/9Pn0/2SVY/9XkFH/5/7U/838r/+S81X/hfJB/2vd
+ Lv8vqwH/X9kZ/xlaCf97lXn/9vn2//7+/v///////////////////////v/+//7+/v/+/v7/nphZ/8nG
+ oP/29u3/9vbt//X15f/s77//fncl//Py6P/+/v7//v7+////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////7+/v/P3s//jbGL/1eO
+ T//h/c3/lvJb/4XyQf925zP/UMkT/x99Cv+Or4r/2N7Y//7+/v//////////////////////////////
+ /////////v7+//7+/P+ppW3/d3AX/3dwF/93cBf/fHYj//7++f/+/v7//v7+////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////83czP9xnm//hbJ8/1asN/9LrCf/Rqkg/zqeFv9tnWz/3Ofd//7+/v//////////////
+ ///////////////////////////////////+/v7/+Pjx//T06v/09Or/9PTp//X06//+/v7/////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////6vHp/zBwL/8ucC3/LnEt/y5wLf83dDf/+v36//7+
+ /v///////////////////////////////////////////////////////v7+//7+/v/+/////v////7/
+ ///+/v7//v7+////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////7+/v/+//7//v7+//7/
+ /v/+/v7//v7+//7+/v//////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+
+
+
\ No newline at end of file
diff --git a/FolderCopy/Program.cs b/FolderCopy/Program.cs
new file mode 100644
index 0000000..6965f1c
--- /dev/null
+++ b/FolderCopy/Program.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace FolderCopy
+{
+ internal static class Program
+ {
+ ///
+ /// アプリケーションのメイン エントリ ポイントです。
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
diff --git a/FolderCopy/Properties/AssemblyInfo.cs b/FolderCopy/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..1b8a5ec
--- /dev/null
+++ b/FolderCopy/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// アセンブリに関する一般的な情報は、次の方法で制御されます
+// 制御されます。アセンブリに関連付けられている情報を変更するには、
+// これらの属性値を変更します。
+[assembly: AssemblyTitle("FolderCopy")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("FolderCopy")]
+[assembly: AssemblyCopyright("Copyright © 2023")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントから
+// 参照できなくなります。COM からこのアセンブリ内の型にアクセスする必要がある場合は、
+// その型の ComVisible 属性を true に設定してください。
+[assembly: ComVisible(false)]
+
+// このプロジェクトが COM に公開される場合、次の GUID が typelib の ID になります
+[assembly: Guid("ef731421-4d71-44fd-8067-4140a1e6eabb")]
+
+// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
+//
+// メジャー バージョン
+// マイナー バージョン
+// ビルド番号
+// リビジョン
+//
+// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます
+// 既定値にすることができます:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/FolderCopy/Properties/Resources.Designer.cs b/FolderCopy/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..cc6dc16
--- /dev/null
+++ b/FolderCopy/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします
+//
+//------------------------------------------------------------------------------
+
+namespace FolderCopy.Properties
+{
+
+
+ ///
+ /// ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。
+ ///
+ // このクラスは StronglyTypedResourceBuilder クラスが ResGen
+ // または Visual Studio のようなツールを使用して自動生成されました。
+ // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に
+ // ResGen を実行し直すか、または VS プロジェクトをリビルドします。
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// このクラスで使用されるキャッシュされた ResourceManager インスタンスを返します。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FolderCopy.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします
+ /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/FolderCopy/Properties/Resources.resx b/FolderCopy/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/FolderCopy/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FolderCopy/Properties/Settings.Designer.cs b/FolderCopy/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..31f5b6c
--- /dev/null
+++ b/FolderCopy/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace FolderCopy.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/FolderCopy/Properties/Settings.settings b/FolderCopy/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/FolderCopy/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+