diff --git a/.vs/DataOrganizer/v16/.suo b/.vs/DataOrganizer/v16/.suo index 5a524a3..99fcc70 100644 Binary files a/.vs/DataOrganizer/v16/.suo and b/.vs/DataOrganizer/v16/.suo differ diff --git a/DataOrganizer/FileViewer.cs b/DataOrganizer/FileViewer.cs index 699186c..9ec7f00 100644 --- a/DataOrganizer/FileViewer.cs +++ b/DataOrganizer/FileViewer.cs @@ -54,8 +54,8 @@ namespace DataOrganizer foreach(var file in files) { - var path = file.ParentFolder.FullPath.Remove(0, folderGroup.Path.Length + 1); - var newFilePath = Path.Combine(profile.DefaultNewContentFolder, file.PathNoRoot); + var path = Path.Combine(folderGroup.Name, file.ParentFolder.FullPath.Remove(0, folderGroup.Path.Length + 1)); + var newFilePath = Path.Combine(profile.DefaultNewContentFolder, folderGroup.Name, file.PathNoRoot); Directory.CreateDirectory(Path.Combine(profile.DefaultNewContentFolder, path)); UpdateStatusStrip($"Moving {file.Name} to default location '{profile.DefaultNewContentFolder}'.");