We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba1c72b commit c2e7c06Copy full SHA for c2e7c06
SaveWin10Pictures/Program.cs
@@ -118,8 +118,23 @@ private static void Main()
118
display("Press T to open Target directory:");
119
consoleKeyPressed = Console.ReadKey();
120
// Check every 24 hours
121
- Thread.Sleep(5000);
122
-
+ //Thread.Sleep(5000);
+ if (consoleKeyPressed.ToString() == "Q")
123
+ {
124
+ break;
125
+ }
126
+
127
+ if (consoleKeyPressed.ToString() == "S")
128
129
+ string sourceDirectory = "";
130
131
132
133
+ if (consoleKeyPressed.ToString() == "T")
134
135
+ string targetDirectory = "";
136
137
138
} while (consoleKeyPressed.Key != ConsoleKey.Q);
139
140
Console.ForegroundColor = ConsoleColor.Yellow;
0 commit comments