August 26, 2018 at 8:24 am
How can I copy all files from folder.
G:\MainFolder\Folder\
Inside this Folder has txt files. I want to move all this txt files into G:\MainFolder
August 26, 2018 at 8:34 am
girl_bj - Sunday, August 26, 2018 8:24 AMHow can I copy all files from folder.G:\MainFolder\Folder\
Inside this Folder has txt files. I want to move all this txt files into G:\MainFolder
https://devjef.wordpress.com/2013/06/28/moving-files-with-ssis/
August 26, 2018 at 11:06 am
girl_bj - Sunday, August 26, 2018 8:24 AMHow can I copy all files from folder.G:\MainFolder\Folder\
Inside this Folder has txt files. I want to move all this txt files into G:\MainFolder
It's a real shame that people don't use or even know the basics anymore. This is a trivial task easily done without loops, GUIs, or any of the other unnecessary stuff if you go back to the simplicity of the operating system.
MOVE "G:\MainFolder\Folder\*.txt" "G:\MainFolder\"
--Jeff Moden
Change is inevitable... Change for the better is not.
August 27, 2018 at 5:27 am
Jeff Moden - Sunday, August 26, 2018 11:06 AMgirl_bj - Sunday, August 26, 2018 8:24 AMHow can I copy all files from folder.G:\MainFolder\Folder\
Inside this Folder has txt files. I want to move all this txt files into G:\MainFolderIt's a real shame that people don't use or even know the basics anymore. This is a trivial task easily done without loops, GUIs, or any of the other unnecessary stuff if you go back to the simplicity of the operating system.
MOVE "G:\MainFolder\Folder\*.txt" "G:\MainFolder\"
To execute this in SSIS, you're going to need an Execute Process task which references cmd.exe as its executable (example here).
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply