Print files in directory before moving

Added a loop to print files in the directory to be moved.
This commit is contained in:
kqnori
2026-06-28 12:48:24 +02:00
committed by GitHub
parent 21343e9835
commit 1c488de5d3
+5
View File
@@ -116,6 +116,11 @@ void unrarfix(string fixfile)
gamepath = Path.Combine(userProfilePath, "Documents", "games", gamename); gamepath = Path.Combine(userProfilePath, "Documents", "games", gamename);
foreach (var file in Directory.GetFiles(dirtomove))
{
Console.WriteLine($"File: {file}");
}
Directory.Move(dirtomove, gamepath); Directory.Move(dirtomove, gamepath);
// delete old folders and rars // delete old folders and rars