I hope I can clarify with the following. I may have messed up my original post.
Yes, it is true, several files are being moved from various locations on the F drive into this specific folder - F:\Finances\CSOB\XLK_WorkSheets2023. But that is intentional to keep these files from being copied at the end of the week via my use of GoodSync to my storage disks. I do not need or want multiple copies taking up precious storage space thus is why ultimately I only need at any given time two complete sets. One on the E drive @ E:\XLK_WorkSheets2023 and the second on my initial external storage disk which then gets cloned to 2 more disks. Redundancy is the word of the day! Furthermore when these files are moved from these various locations on the F drive to F:\Finances\CSOB\XLK_WorkSheets2023 they actually do disappear from the original F drive locations.
First the indicated files are moved as shown here:
move F:\Finances\CSOB\2023\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move F:\Finances\CSOB\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move F:\Dwight\Memoirs\Docs\dodge\Root\Docs\2023\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move "F:\Dwight\In The Event Of My Death\*.xlk" "F:\Finances\CSOB\XLK_WorkSheets2023"
move F:\Finances\CSOB\NewCalendars\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move F:\Data\Documents\Cooking\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move F:\Dwight\Memoirs\Docs\dodge\Root\Excel\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
Next, from previous actions, these same named files existing in E:\XLK_WorkSheets2023 need to be deleted.
When that is done then the newer files recently brought into F:\Finances\CSOB\XLK_WorkSheets2023 need to be moved to E:\XLK_WorkSheets2023. (and I do mean moved so they no longer exist in F:\Finances\CSOB\XLK_WorkSheets2023)
I hope this clarifies my intent.
Currently I run a combination of bat files and excel vba to get this done.
First bat file run:
@echo off
move F:\Finances\CSOB\2023\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move F:\Finances\CSOB\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move F:\Dwight\Memoirs\Docs\dodge\Root\Docs\2023\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move "F:\Dwight\In The Event Of My Death\*.xlk" "F:\Finances\CSOB\XLK_WorkSheets2023"
move F:\Finances\CSOB\NewCalendars\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move F:\Data\Documents\Cooking\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
move F:\Dwight\Memoirs\Docs\dodge\Root\Excel\*.xlk F:\Finances\CSOB\XLK_WorkSheets2023
Second bat file run:
@echo off
move F:\Finances\CSOB\XLK_WorkSheets2023\*.xlk E:\XLK_WorkSheets2023
Third is the excel vba:
Sub Delete_Files()
Kill "E:\XLK_WorkSheets2023\*.xlk"
'This will delete all xlk files in this folder
End Sub
This all works very well, leaving no original files in F:\Finances\CSOB\XLK_WorkSheets2023 when all is said and done.
Essentially I would like all of this to flow seamlessly from one bat file if possible, or even from excel vba if that is also possible.
I looked into vba for moving files but could not find anything useful.
Thank you for bearing with me, much appreciated.