Print files in directory before moving
Added a loop to print files in the directory to be moved.
This commit is contained in:
@@ -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