We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2e7c06 commit 0350116Copy full SHA for 0350116
SaveWin10Pictures/Program.cs
@@ -107,7 +107,7 @@ private static void Main()
107
108
109
// keeps running for pc up all the time until Q key is pressed
110
-
+
111
ConsoleKeyInfo consoleKeyPressed;
112
DateTime timeToCheck = DateTime.Now;
113
do
@@ -132,7 +132,14 @@ private static void Main()
132
133
if (consoleKeyPressed.ToString() == "T")
134
{
135
- string targetDirectory = "";
+ string targetDirectory = myPicturesFolder;
136
+ if (Directory.Exists($@"{myPicturesFolder}\fond_ecran"))
137
+ {
138
+ targetDirectory = $@"{myPicturesFolder}\fond_ecran";
139
+ }
140
141
+ // process start explorer
142
143
}
144
145
} while (consoleKeyPressed.Key != ConsoleKey.Q);
0 commit comments