diff --git a/ShareX/WatchFolder.cs b/ShareX/WatchFolder.cs index 0c534c91e..f0af4fbac 100644 --- a/ShareX/WatchFolder.cs +++ b/ShareX/WatchFolder.cs @@ -53,7 +53,7 @@ public virtual void Enable() { context = SynchronizationContext.Current ?? new SynchronizationContext(); - fileWatcher = new FileSystemWatcher(Settings.FolderPath); + fileWatcher = new FileSystemWatcher(Helpers.ExpandFolderVariables(Settings.FolderPath)); if (!string.IsNullOrEmpty(Settings.Filter)) fileWatcher.Filter = Settings.Filter; fileWatcher.IncludeSubdirectories = Settings.IncludeSubdirectories; fileWatcher.Created += fileWatcher_Created;