Print files in directory before moving
Added a loop to print files in the directory to be moved.
This commit is contained in:
1 parent
21343e9835
commit
1c488de5d3
1 file changed
+5
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user